Home
last modified time | relevance | path

Searched refs:C1 (Results 1 – 6 of 6) sorted by relevance

/optee_os/core/lib/libtomcrypt/
A Dsm2-pke.c114 ecc_point *C1 = NULL; in sm2_ltc_pke_decrypt() local
143 C1 = ltc_ecc_new_point(); in sm2_ltc_pke_decrypt()
144 if (!C1) { in sm2_ltc_pke_decrypt()
174 ltc_res = ltc_ecc_mulmod(h, C1, S, ltc_key.dp.A, in sm2_ltc_pke_decrypt()
200 ltc_res = ltc_ecc_mulmod(ltc_key.k, C1, x2y2p, ltc_key.dp.A, in sm2_ltc_pke_decrypt()
295 ltc_ecc_del_point(C1); in sm2_ltc_pke_decrypt()
337 ecc_point *C1 = NULL; in sm2_ltc_pke_encrypt() local
368 C1 = ltc_ecc_new_point(); in sm2_ltc_pke_encrypt()
369 if (!C1) { in sm2_ltc_pke_encrypt()
469 res = sm2_point_to_bytes(dst, &C1_len, C1); in sm2_ltc_pke_encrypt()
[all …]
/optee_os/lib/libmbedtls/mbedtls/library/
A Dbase64.c168 int C1, C2, C3; in mbedtls_base64_encode() local
197 C1 = *src++; in mbedtls_base64_encode()
202 ( ( C1 >> 2 ) & 0x3F ) ); in mbedtls_base64_encode()
205 ( ( ( ( C1 & 3 ) << 4 ) + ( C2 >> 4 ) ) & 0x3F ) ); in mbedtls_base64_encode()
216 C1 = *src++; in mbedtls_base64_encode()
220 ( ( C1 >> 2 ) & 0x3F ) ); in mbedtls_base64_encode()
223 ( ( ( ( C1 & 3 ) << 4 ) + ( C2 >> 4 ) ) & 0x3F ) ); in mbedtls_base64_encode()
A Daes.c153 V(F5,53,53,A6), V(68,D1,D1,B9), V(00,00,00,00), V(2C,ED,ED,C1), \
163 V(DF,BC,BC,63), V(C1,B6,B6,77), V(75,DA,DA,AF), V(63,21,21,42), \
188 V(91,86,86,17), V(58,C1,C1,99), V(27,1D,1D,3A), V(B9,9E,9E,27), \
301 V(4B,2F,9E,1D), V(F3,30,B2,DC), V(EC,52,86,0D), V(D0,E3,C1,77), \
304 V(C7,4E,49,87), V(C1,D1,38,D9), V(FE,A2,CA,8C), V(36,0B,D4,98), \
317 V(E3,B5,D1,9E), V(1B,88,6A,4C), V(B8,1F,2C,C1), V(7F,51,65,46), \
326 V(71,01,A8,39), V(DE,B3,0C,08), V(9C,E4,B4,D8), V(90,C1,56,64), \
/optee_os/lib/libmbedtls/core/
A Dsm2-pke.c116 mbedtls_ecp_point C1 = { }; in sm2_mbedtls_pke_decrypt() local
136 mbedtls_ecp_point_init(&C1); in sm2_mbedtls_pke_decrypt()
148 res = sm2_bytes_to_point(&grp, &C1, src, src_len, &C1_len); in sm2_mbedtls_pke_decrypt()
160 mres = mbedtls_ecp_mul(&grp, &x2y2p, (mbedtls_mpi *)key->d, &C1, in sm2_mbedtls_pke_decrypt()
261 mbedtls_ecp_point_free(&C1); in sm2_mbedtls_pke_decrypt()
310 mbedtls_ecp_point C1 = { }; in sm2_mbedtls_pke_encrypt() local
323 mbedtls_ecp_point_init(&C1); in sm2_mbedtls_pke_encrypt()
340 mres = mbedtls_ecp_mul(&grp, &C1, &k, &grp.G, mbd_rand, NULL); in sm2_mbedtls_pke_encrypt()
407 res = sm2_point_to_bytes(dst, &C1_len, &C1); in sm2_mbedtls_pke_encrypt()
448 mbedtls_ecp_point_free(&C1); in sm2_mbedtls_pke_encrypt()
/optee_os/core/drivers/crypto/caam/acipher/
A Dcaam_prime_rsa.c509 caam_desc_add_word(desc, NFIFO_NOPAD(C1, 0, IFIFO, PKHA_N, 8)); in do_desc_prime()
516 caam_desc_add_word(desc, NFIFO_PAD(C1, 0, PKHA_N, RND, 0)); in do_desc_prime()
521 caam_desc_add_word(desc, NFIFO_NOPAD(C1, NFIFO_FC1, IFIFO, PKHA_N, 8)); in do_desc_prime()
582 caam_desc_add_word(desc, NFIFO_PAD(C1, NFIFO_FC1, PKHA_A, RND, 0)); in do_desc_prime()
A Dcaam_prime_dsa.c142 caam_desc_add_word(desc, NFIFO_NOPAD(C1, NFIFO_FC1, IFIFO, PKHA_N, 0)); in do_desc_prime_q()
166 caam_desc_add_word(desc, NFIFO_PAD(C1, NFIFO_FC1, PKHA_A, RND, 0)); in do_desc_prime_q()
466 caam_desc_add_word(desc, NFIFO_PAD(C1, NFIFO_FC1, PKHA_A, RND, 0)); in do_desc_prime_p()
632 caam_desc_add_word(desc, NFIFO_PAD(C1, NFIFO_FC1, PKHA_A, RND, 0)); in do_generator()

Completed in 13 milliseconds