Home
last modified time | relevance | path

Searched refs:outkey (Results 1 – 4 of 4) sorted by relevance

/optee_os-3.20.0/core/drivers/crypto/caam/acipher/
A Dcaam_dsa.c114 crypto_bignum_bin2bn(outkey->q.data, outkey->q.length, key->q); in get_keypair_domain_params()
115 crypto_bignum_bin2bn(outkey->g.data, outkey->g.length, key->g); in get_keypair_domain_params()
116 crypto_bignum_bin2bn(outkey->p.data, outkey->p.length, key->p); in get_keypair_domain_params()
196 cache_operation(TEE_CACHECLEAN, outkey->g.data, outkey->g.length); in do_keypriv_conv()
197 cache_operation(TEE_CACHECLEAN, outkey->p.data, outkey->p.length); in do_keypriv_conv()
198 cache_operation(TEE_CACHECLEAN, outkey->q.data, outkey->q.length); in do_keypriv_conv()
199 cache_operation(TEE_CACHECLEAN, outkey->x.data, outkey->x.length); in do_keypriv_conv()
258 cache_operation(TEE_CACHECLEAN, outkey->g.data, outkey->g.length); in do_keypub_conv()
259 cache_operation(TEE_CACHECLEAN, outkey->p.data, outkey->p.length); in do_keypub_conv()
260 cache_operation(TEE_CACHECLEAN, outkey->q.data, outkey->q.length); in do_keypub_conv()
[all …]
A Dcaam_dh.c69 retstatus = caam_calloc_buf(&outkey->p, p_size); in do_keypair_conv_p_g()
73 crypto_bignum_bn2bin(inkey->p, outkey->p.data); in do_keypair_conv_p_g()
74 cache_operation(TEE_CACHECLEAN, outkey->p.data, outkey->p.length); in do_keypair_conv_p_g()
77 retstatus = caam_calloc_buf(&outkey->g, p_size); in do_keypair_conv_p_g()
84 cache_operation(TEE_CACHECLEAN, outkey->g.data, outkey->g.length); in do_keypair_conv_p_g()
113 crypto_bignum_bn2bin(inkey->p, outkey->p.data); in do_keypriv_conv()
114 cache_operation(TEE_CACHECLEAN, outkey->p.data, outkey->p.length); in do_keypriv_conv()
121 crypto_bignum_bn2bin(inkey->x, outkey->x.data); in do_keypriv_conv()
122 cache_operation(TEE_CACHECLEAN, outkey->x.data, outkey->x.length); in do_keypriv_conv()
147 crypto_bignum_bn2bin(inkey, outkey->y.data); in do_keypub_conv()
[all …]
A Dcaam_rsa.c142 cache_operation(TEE_CACHECLEAN, outkey->e.data, outkey->e.length); in do_keypub_conv()
150 cache_operation(TEE_CACHECLEAN, outkey->n.data, outkey->n.length); in do_keypub_conv()
219 outkey->dq.data = outkey->dp.data + size_p; in do_keypair_conv_f3()
221 outkey->dq.paddr = outkey->dp.paddr + size_p; in do_keypair_conv_f3()
230 outkey->qp.data = outkey->dq.data + size_q; in do_keypair_conv_f3()
232 outkey->qp.paddr = outkey->dq.paddr + size_q; in do_keypair_conv_f3()
242 outkey->dp.length + outkey->dq.length + in do_keypair_conv_f3()
284 outkey->q.data = outkey->p.data + size_p; in do_keypair_conv_f2()
286 outkey->q.paddr = outkey->p.paddr + size_p; in do_keypair_conv_f2()
326 cache_operation(TEE_CACHECLEAN, outkey->n.data, outkey->n.length); in do_keypair_conv()
[all …]
A Dcaam_ecc.c59 static enum caam_status do_keypub_conv(struct caam_ecc_keypair *outkey, in do_keypub_conv() argument
70 retstatus = caam_calloc_buf(&outkey->xy, 2 * size_sec); in do_keypub_conv()
76 crypto_bignum_bn2bin(inkey->x, outkey->xy.data + size_sec - x_size); in do_keypub_conv()
79 crypto_bignum_bn2bin(inkey->y, outkey->xy.data + 2 * size_sec - y_size); in do_keypub_conv()
81 cache_operation(TEE_CACHECLEAN, outkey->xy.data, outkey->xy.length); in do_keypub_conv()
94 static enum caam_status do_keypair_conv(struct caam_ecc_keypair *outkey, in do_keypair_conv() argument
104 retstatus = caam_calloc_buf(&outkey->d, size_sec); in do_keypair_conv()
110 crypto_bignum_bn2bin(inkey->d, outkey->d.data + size_sec - d_size); in do_keypair_conv()
112 cache_operation(TEE_CACHECLEAN, outkey->d.data, outkey->d.length); in do_keypair_conv()

Completed in 8 milliseconds