| /OK3568_Linux_fs/buildroot/dl/rtmpdump/git/librtmp/ |
| H A D | dh.h | 50 MP_t priv_key; member 56 …>ctx); MP_free(_dh->p); MP_free(_dh->g); MP_free(_dh->pub_key); MP_free(_dh->priv_key); free(_dh);} 66 MP_new(dh->priv_key); in MDH_generate_key() 68 MP_set(dh->priv_key, &dh->ctx.X); in MDH_generate_key() 101 MP_t priv_key; member 106 …((MDH*)(dh))->g); MP_free(((MDH*)(dh))->pub_key); MP_free(((MDH*)(dh))->priv_key); free(dh);} whil… 118 dh->priv_key = calloc(1, sizeof(*dh->priv_key)); in MDH_generate_key() 119 if (!dh->priv_key) in MDH_generate_key() 121 mpz_init2(dh->priv_key, 1); in MDH_generate_key() 125 mpz_urandomb(dh->priv_key, rs, num_bytes); in MDH_generate_key() [all …]
|
| /OK3568_Linux_fs/external/security/librkcrypto/demo/ |
| H A D | demo_rsa.c | 133 rk_rsa_priv_key_pack priv_key; in demo_rsa_pub_enc() local 158 test_init_privkey(&priv_key); in demo_rsa_pub_enc() 167 res = rk_rsa_priv_decrypt(&priv_key, padding, enc_buf, out_len, dec_buf, &out_len); in demo_rsa_pub_enc() 209 rk_rsa_priv_key_pack priv_key; in demo_rsa_priv_enc() local 234 test_init_privkey(&priv_key); in demo_rsa_priv_enc() 236 res = rk_rsa_priv_encrypt(&priv_key, padding, plain, sizeof(plain), enc_buf, &out_len); in demo_rsa_priv_enc() 284 rk_rsa_priv_key_pack priv_key; in demo_rsa_sign_data() local 300 test_init_privkey(&priv_key); in demo_rsa_sign_data() 304 res = rk_rsa_sign(&priv_key, padding, data, sizeof(data), NULL, sign, &sign_len); in demo_rsa_sign_data() 342 rk_rsa_priv_key_pack priv_key; in demo_rsa_sign_digest() local [all …]
|
| /OK3568_Linux_fs/external/security/librkcrypto/test/ |
| H A D | test_rsa.c | 614 rk_rsa_priv_key_pack priv_key; in test_rsa_pub_enc() local 642 test_init_privkey(&priv_key, nbits); in test_rsa_pub_enc() 658 ssl_padding, digest_md, &priv_key); in test_rsa_pub_enc() 673 ssl_padding, digest_md, &priv_key); in test_rsa_pub_enc() 680 res = rk_rsa_priv_decrypt(&priv_key, padding, enc_buf, out_len, dec_buf, &out_len); in test_rsa_pub_enc() 726 rk_rsa_priv_key_pack priv_key; in test_rsa_priv_enc() local 754 test_init_privkey(&priv_key, nbits); in test_rsa_priv_enc() 756 res = rk_rsa_priv_encrypt(&priv_key, padding, data, data_len, enc_buf, &out_len); in test_rsa_priv_enc() 810 rk_rsa_priv_key_pack priv_key; in test_rsa_sign_common() local 820 test_init_privkey(&priv_key, nbits); in test_rsa_sign_common() [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/openssl/ |
| H A D | ecdh.h | 89 void *out, size_t outlen, const EC_POINT *pub_key, const EC_KEY *priv_key, 106 const EC_KEY *priv_key);
|
| H A D | dh.h | 116 OPENSSL_EXPORT int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); 317 BIGNUM *priv_key; // x member
|
| H A D | dsa.h | 130 OPENSSL_EXPORT int DSA_set0_key(DSA *dsa, BIGNUM *pub_key, BIGNUM *priv_key); 419 BIGNUM *priv_key; // x private key member
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/openssl/ |
| H A D | ecdh.h | 89 void *out, size_t outlen, const EC_POINT *pub_key, const EC_KEY *priv_key, 106 const EC_KEY *priv_key);
|
| H A D | dh.h | 116 OPENSSL_EXPORT int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); 317 BIGNUM *priv_key; // x member
|
| H A D | dsa.h | 130 OPENSSL_EXPORT int DSA_set0_key(DSA *dsa, BIGNUM *pub_key, BIGNUM *priv_key); 419 BIGNUM *priv_key; // x private key member
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/openssl/ |
| H A D | ecdh.h | 89 void *out, size_t outlen, const EC_POINT *pub_key, const EC_KEY *priv_key, 106 const EC_KEY *priv_key);
|
| H A D | dh.h | 116 OPENSSL_EXPORT int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); 317 BIGNUM *priv_key; // x member
|
| H A D | dsa.h | 130 OPENSSL_EXPORT int DSA_set0_key(DSA *dsa, BIGNUM *pub_key, BIGNUM *priv_key); 419 BIGNUM *priv_key; // x private key member
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/openssl/ |
| H A D | ecdh.h | 89 void *out, size_t outlen, const EC_POINT *pub_key, const EC_KEY *priv_key, 106 const EC_KEY *priv_key);
|
| H A D | dh.h | 116 OPENSSL_EXPORT int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); 317 BIGNUM *priv_key; // x member
|
| H A D | dsa.h | 130 OPENSSL_EXPORT int DSA_set0_key(DSA *dsa, BIGNUM *pub_key, BIGNUM *priv_key); 419 BIGNUM *priv_key; // x private key member
|
| /OK3568_Linux_fs/buildroot/package/ibrdtnd/ |
| H A D | 0001-ibrdtnd-added-openssl-compatibility.patch | 175 +void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key) 179 + if (priv_key != NULL) 180 + *priv_key = dh->priv_key; 199 +void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key);
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/mbedtls/ |
| H A D | pkcs11.h | 104 mbedtls_pkcs11_context *priv_key, 117 mbedtls_pkcs11_context *priv_key );
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/mbedtls/ |
| H A D | pkcs11.h | 104 mbedtls_pkcs11_context *priv_key, 117 mbedtls_pkcs11_context *priv_key );
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/mbedtls/ |
| H A D | pkcs11.h | 104 mbedtls_pkcs11_context *priv_key, 117 mbedtls_pkcs11_context *priv_key );
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/mbedtls/ |
| H A D | pkcs11.h | 104 mbedtls_pkcs11_context *priv_key, 117 mbedtls_pkcs11_context *priv_key );
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/include/openssl/ |
| H A D | dh.h | 98 OPENSSL_EXPORT int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); 254 BIGNUM *priv_key; // x member
|
| H A D | dsa.h | 110 OPENSSL_EXPORT int DSA_set0_key(DSA *dsa, BIGNUM *pub_key, BIGNUM *priv_key); 412 BIGNUM *priv_key; // x private key member
|
| H A D | ecdh.h | 89 void *out, size_t outlen, const EC_POINT *pub_key, const EC_KEY *priv_key,
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/host_include/openssl/ |
| H A D | dh.h | 98 OPENSSL_EXPORT int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); 254 BIGNUM *priv_key; // x member
|
| H A D | dsa.h | 110 OPENSSL_EXPORT int DSA_set0_key(DSA *dsa, BIGNUM *pub_key, BIGNUM *priv_key); 412 BIGNUM *priv_key; // x private key member
|