Home
last modified time | relevance | path

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

/optee_os/core/arch/arm/crypto/
H A Dghash-ce-core_a32.S82 .macro __pmull_p8, rq, ad, bd, b1=t4l, b2=t3l, b3=t4l, b4=t3l
85 vext.8 t4l, \bd, \bd, #1 @ B1
87 vmull.p8 t0q, t0l, \bd @ F = A1*B
91 vext.8 t3l, \bd, \bd, #2 @ B2
93 vmull.p8 t1q, t1l, \bd @ H = A2*B
98 vext.8 t4l, \bd, \bd, #3 @ B3
100 vmull.p8 t2q, t2l, \bd @ J = A3*B
104 vext.8 t3l, \bd, \bd, #4 @ B4
121 vmull.p8 \rq, \ad, \bd @ D = A*B
H A Dghash-ce-core_a64.S77 .macro __pmull_p8, rq, ad, bd argument
82 __pmull_p8_\bd \rq, \ad
85 .macro __pmull2_p8, rq, ad, bd argument
90 __pmull2_p8_\bd \rq, \ad
105 .macro __pmull_p8_tail, rq, ad, bd, nb, t, b1, b2, b3, b4
106 pmull\t t3.8h, t3.\nb, \bd // F = A1*B
108 pmull\t t5.8h, t5.\nb, \bd // H = A2*B
110 pmull\t t7.8h, t7.\nb, \bd // J = A3*B
113 pmull\t \rq\().8h, \ad, \bd // D = A*B
/optee_os/core/drivers/crypto/hisilicon/
H A Dsec_pbkdf2.c13 static enum hisi_drv_status sec_pbkdf2_parse_sqe(void *bd, void *msg __unused) in sec_pbkdf2_parse_sqe() argument
15 struct hisi_sec_sqe *sqe = bd; in sec_pbkdf2_parse_sqe()
28 static enum hisi_drv_status sec_pbkdf2_fill_sqe(void *bd, void *msg) in sec_pbkdf2_fill_sqe() argument
31 struct hisi_sec_sqe *sqe = bd; in sec_pbkdf2_fill_sqe()
59 static enum hisi_drv_status sec_pbkdf2_parse_bd3_sqe(void *bd, in sec_pbkdf2_parse_bd3_sqe() argument
62 struct hisi_sec_bd3_sqe *sqe = bd; in sec_pbkdf2_parse_bd3_sqe()
75 static enum hisi_drv_status sec_pbkdf2_fill_bd3_sqe(void *bd, void *msg) in sec_pbkdf2_fill_bd3_sqe() argument
78 struct hisi_sec_bd3_sqe *sqe = bd; in sec_pbkdf2_fill_bd3_sqe()
H A Dsec_hash.c101 static enum hisi_drv_status sec_digest_fill_sqe(void *bd, void *msg) in sec_digest_fill_sqe() argument
104 struct hisi_sec_sqe *sqe = bd; in sec_digest_fill_sqe()
190 static enum hisi_drv_status sec_digest_fill_bd3_sqe(void *bd, void *msg) in sec_digest_fill_bd3_sqe() argument
193 struct hisi_sec_bd3_sqe *sqe = bd; in sec_digest_fill_bd3_sqe()
241 static enum hisi_drv_status sec_parse_digest_sqe(void *bd, void *msg __unused) in sec_parse_digest_sqe() argument
243 struct hisi_sec_sqe *sqe = bd; in sec_parse_digest_sqe()
256 static enum hisi_drv_status sec_parse_digest_bd3_sqe(void *bd, in sec_parse_digest_bd3_sqe() argument
259 struct hisi_sec_bd3_sqe *sqe = bd; in sec_parse_digest_bd3_sqe()
H A Dsec_cipher.c342 static enum hisi_drv_status sec_cipher_bd_fill(void *bd, void *msg) in sec_cipher_bd_fill() argument
345 struct hisi_sec_sqe *sqe = bd; in sec_cipher_bd_fill()
375 static enum hisi_drv_status sec_cipher_bd_parse(void *bd, void *msg __unused) in sec_cipher_bd_parse() argument
377 struct hisi_sec_sqe *sqe = bd; in sec_cipher_bd_parse()
390 static enum hisi_drv_status sec_cipher_bd3_fill(void *bd, void *msg) in sec_cipher_bd3_fill() argument
392 struct hisi_sec_bd3_sqe *sqe = bd; in sec_cipher_bd3_fill()
416 static enum hisi_drv_status sec_cipher_bd3_parse(void *bd, void *msg __unused) in sec_cipher_bd3_parse() argument
418 struct hisi_sec_bd3_sqe *sqe = bd; in sec_cipher_bd3_parse()
H A Dhpre_dh.c65 static enum hisi_drv_status hpre_dh_fill_sqe(void *bd, void *info) in hpre_dh_fill_sqe() argument
68 struct hpre_sqe *sqe = bd; in hpre_dh_fill_sqe()
79 static enum hisi_drv_status hpre_dh_parse_sqe(void *bd, void *info) in hpre_dh_parse_sqe() argument
82 struct hpre_sqe *sqe = bd; in hpre_dh_parse_sqe()
H A Dsec_authenc.c20 static enum hisi_drv_status sec_aead_bd_fill(void *bd, void *msg) in sec_aead_bd_fill() argument
23 struct hisi_sec_sqe *sqe = bd; in sec_aead_bd_fill()
59 static enum hisi_drv_status sec_aead_bd_parse(void *bd, void *msg) in sec_aead_bd_parse() argument
61 struct hisi_sec_sqe *sqe = bd; in sec_aead_bd_parse()
76 static enum hisi_drv_status sec_aead_bd3_fill(void *bd, void *msg) in sec_aead_bd3_fill() argument
79 struct hisi_sec_bd3_sqe *sqe = bd; in sec_aead_bd3_fill()
114 static enum hisi_drv_status sec_aead_bd3_parse(void *bd, void *msg) in sec_aead_bd3_parse() argument
116 struct hisi_sec_bd3_sqe *sqe = bd; in sec_aead_bd3_parse()
H A Dhpre_montgomery.c310 static enum hisi_drv_status hpre_montgomery_fill_sqe(void *bd, void *info) in hpre_montgomery_fill_sqe() argument
313 struct hpre_sqe *sqe = bd; in hpre_montgomery_fill_sqe()
324 static enum hisi_drv_status hpre_montgomery_parse_sqe(void *bd, void *info) in hpre_montgomery_parse_sqe() argument
327 struct hpre_sqe *sqe = bd; in hpre_montgomery_parse_sqe()
H A Dhpre_rsa.c48 static enum hisi_drv_status hpre_rsa_fill_sqe(void *bd, void *info) in hpre_rsa_fill_sqe() argument
51 struct hpre_sqe *sqe = bd; in hpre_rsa_fill_sqe()
59 static enum hisi_drv_status hpre_rsa_parse_sqe(void *bd, void *info __unused) in hpre_rsa_parse_sqe() argument
61 struct hpre_sqe *sqe = bd; in hpre_rsa_parse_sqe()
H A Dhpre_ecc.c434 static enum hisi_drv_status hpre_ecc_fill_sqe(void *bd, void *info) in hpre_ecc_fill_sqe() argument
437 struct hpre_sqe *sqe = (struct hpre_sqe *)bd; in hpre_ecc_fill_sqe()
541 static enum hisi_drv_status hpre_ecc_parse_sqe(void *bd, void *info) in hpre_ecc_parse_sqe() argument
544 struct hpre_sqe *sqe = (struct hpre_sqe *)bd; in hpre_ecc_parse_sqe()
/optee_os/lib/libutils/isoc/
H A Dbget.c907 struct bdhead *bd; local
909 bd = BDH(buf - sizeof(struct bdhead));
910 rsize = bd->tsize - sizeof(struct bdhead) - bd->offs;
947 struct bdhead *bd; local
949 bd = BDH(((char *) buf) - sizeof(struct bdhead));
950 osize = bd->tsize - sizeof(struct bdhead) - bd->offs;
H A Dbget_malloc.c202 struct bdhead *bd; in bget_buf_size() local
204 bd = BDH(((char *)buf) - sizeof(struct bdhead)); in bget_buf_size()
205 osize = bd->tsize - sizeof(struct bdhead) - bd->offs; in bget_buf_size()