Searched refs:inkey (Results 1 – 5 of 5) sorted by relevance
/optee_os/core/drivers/crypto/caam/acipher/ |
A D | caam_dh.c | 58 const struct dh_keypair *inkey) in do_keypair_conv_p_g() argument 64 p_size = crypto_bignum_num_bytes(inkey->p); in do_keypair_conv_p_g() 73 crypto_bignum_bn2bin(inkey->p, outkey->p.data); in do_keypair_conv_p_g() 82 field_size = crypto_bignum_num_bytes(inkey->g); in do_keypair_conv_p_g() 96 const struct dh_keypair *inkey) in do_keypriv_conv() argument 99 size_t key_size = inkey->xbits / 8; in do_keypriv_conv() 103 key_size = crypto_bignum_num_bytes(inkey->x); in do_keypriv_conv() 108 p_size = crypto_bignum_num_bytes(inkey->p); in do_keypriv_conv() 113 crypto_bignum_bn2bin(inkey->p, outkey->p.data); in do_keypriv_conv() 134 const struct bignum *inkey) in do_keypub_conv() argument [all …]
|
A D | caam_dsa.c | 151 const struct dsa_keypair *inkey, in do_keypriv_conv() argument 166 field_size = crypto_bignum_num_bytes(inkey->g); in do_keypriv_conv() 175 field_size = crypto_bignum_num_bytes(inkey->p); in do_keypriv_conv() 184 field_size = crypto_bignum_num_bytes(inkey->q); in do_keypriv_conv() 193 field_size = crypto_bignum_num_bytes(inkey->x); in do_keypriv_conv() 213 const struct dsa_public_key *inkey, in do_keypub_conv() argument 228 field_size = crypto_bignum_num_bytes(inkey->g); in do_keypub_conv() 237 field_size = crypto_bignum_num_bytes(inkey->p); in do_keypub_conv() 246 field_size = crypto_bignum_num_bytes(inkey->q); in do_keypub_conv() 489 struct dsa_keypair *inkey = sdata->key; in do_sign() local [all …]
|
A D | caam_ecc.c | 60 const struct ecc_public_key *inkey, in do_keypub_conv() argument 75 x_size = crypto_bignum_num_bytes(inkey->x); in do_keypub_conv() 78 y_size = crypto_bignum_num_bytes(inkey->y); in do_keypub_conv() 95 const struct ecc_keypair *inkey, in do_keypair_conv() argument 109 d_size = crypto_bignum_num_bytes(inkey->d); in do_keypair_conv() 330 struct ecc_keypair *inkey = sdata->key; in do_sign() local 344 curve = get_caam_curve(inkey->curve); in do_sign() 356 retstatus = do_keypair_conv(&ecckey, inkey, sdata->size_sec); in do_sign() 464 struct ecc_public_key *inkey = sdata->key; in do_verify() local 478 curve = get_caam_curve(inkey->curve); in do_verify() [all …]
|
A D | caam_rsa.c | 134 crypto_bignum_num_bytes(inkey->n)); in do_keypub_conv() 137 crypto_bignum_num_bytes(inkey->e)); in do_keypub_conv() 145 crypto_bignum_num_bytes(inkey->n)); in do_keypub_conv() 168 const struct rsa_keypair *inkey) in do_keypair_conv_f3() argument 258 const struct rsa_keypair *inkey) in do_keypair_conv_f2() argument 264 size_p = crypto_bignum_num_bytes(inkey->p); in do_keypair_conv_f2() 265 size_q = crypto_bignum_num_bytes(inkey->q); in do_keypair_conv_f2() 312 const struct rsa_keypair *inkey) in do_keypair_conv() argument 317 crypto_bignum_num_bytes(inkey->n)); in do_keypair_conv() 321 crypto_bignum_num_bytes(inkey->n)); in do_keypair_conv() [all …]
|
/optee_os/core/drivers/crypto/caam/hash/ |
A D | caam_hash_mac.c | 68 const uint8_t *inkey, size_t len) in do_reduce_key() argument 75 if (caam_dmaobj_input_sgtbuf(&key, inkey, len)) in do_reduce_key() 123 static TEE_Result do_hmac_init(struct crypto_mac_ctx *ctx, const uint8_t *inkey, in do_hmac_init() argument 161 retstatus = do_reduce_key(&reduce_key, alg, inkey, len); in do_hmac_init() 166 ret = caam_dmaobj_input_sgtbuf(&reduce_key, inkey, len); in do_hmac_init()
|
Completed in 9 milliseconds