Home
last modified time | relevance | path

Searched refs:caam_calloc_align_buf (Results 1 – 12 of 12) sorted by relevance

/optee_os/core/drivers/crypto/caam/include/
H A Dcaam_utils_mem.h79 enum caam_status caam_calloc_align_buf(struct caambuf *buf, size_t size);
/optee_os/core/drivers/crypto/caam/acipher/
H A Dcaam_rsa.c139 retstatus = caam_calloc_align_buf(&outkey->e, in do_keypub_conv()
147 retstatus = caam_calloc_align_buf(&outkey->n, in do_keypub_conv()
294 retstatus = caam_calloc_align_buf(&outkey->n, in do_keypair_conv()
591 retstatus = caam_calloc_align_buf(&genkey.n, key_size_bytes); in do_gen_keypair()
792 retstatus = caam_calloc_align_buf(&EM, rsa_data->key.n_size); in do_oaep_decoding()
821 retstatus = caam_calloc_align_buf(&DB, db_size); in do_oaep_decoding()
832 retstatus = caam_calloc_align_buf(&lHash, rsa_data->digest_size); in do_oaep_decoding()
849 retstatus = caam_calloc_align_buf(&seed, rsa_data->digest_size); in do_oaep_decoding()
856 retstatus = caam_calloc_align_buf(&dbMask, db_size); in do_oaep_decoding()
1053 retstatus = caam_calloc_align_buf(&DB, db_size); in do_oaep_encoding()
[all …]
H A Dcaam_dh.c273 retstatus = caam_calloc_align_buf(&caam_dh_key.y, l_bytes); in do_gen_keypair()
H A Dcaam_prime_dsa.c703 retstatus = caam_calloc_align_buf(&seed, data->q->length); in caam_prime_dsa_gen()
H A Dcaam_ecc.c421 retstatus = caam_calloc_align_buf(buf, key_size); in add_padding()
H A Dcaam_dsa.c411 retstatus = caam_calloc_align_buf(&caam_dsa_key.y, l_bytes); in do_gen_keypair()
/optee_os/core/drivers/crypto/caam/blob/
H A Dcaam_blob.c32 res = caam_calloc_align_buf(&buf, MKVB_SIZE); in caam_blob_mkvb_init()
/optee_os/core/drivers/crypto/caam/ae/
H A Dcaam_ae_ccm.c112 retstatus = caam_calloc_align_buf(&aad, AAD_SIZE_LEN); in caam_ae_ccm_init_ctx()
/optee_os/core/drivers/crypto/caam/
H A Dcaam_key.c256 return caam_calloc_align_buf(&key->buf, alloc_size); in caam_key_alloc()
661 status = caam_calloc_align_buf(&input_buf, key->buf.length); in caam_key_black_encapsulation()
/optee_os/core/drivers/crypto/caam/hash/
H A Dcaam_hash.c311 if (caam_calloc_align_buf(&ctx->ctx, ctx->alg->size_ctx) != in caam_hash_hmac_allocate()
319 if (caam_calloc_align_buf(&ctx->key, ctx->alg->size_key) != in caam_hash_hmac_allocate()
/optee_os/core/drivers/crypto/caam/utils/
H A Dutils_mem.c155 enum caam_status caam_calloc_align_buf(struct caambuf *buf, size_t size) in caam_calloc_align_buf() function
/optee_os/core/drivers/crypto/caam/cipher/
H A Dcaam_cipher.c484 ret = caam_calloc_align_buf(&cipherdata->tweak, in caam_cipher_initialize()