Home
last modified time | relevance | path

Searched refs:RSA_PKCS1_PADDING (Results 1 – 25 of 39) sorted by relevance

12

/external/chromium_org/third_party/openssl/openssl/crypto/rsa/
Drsa_pmeth.c104 rctx->pad_mode = RSA_PKCS1_PADDING; in pkey_rsa_init()
229 if (rctx->pad_mode != RSA_PKCS1_PADDING) in pkey_rsa_sign()
248 else if (rctx->pad_mode == RSA_PKCS1_PADDING) in pkey_rsa_sign()
317 else if (rctx->pad_mode == RSA_PKCS1_PADDING) in pkey_rsa_verifyrecover()
370 if (rctx->pad_mode == RSA_PKCS1_PADDING) in pkey_rsa_verify()
476 if ((p1 >= RSA_PKCS1_PADDING) && (p1 <= RSA_PKCS1_PSS_PADDING)) in pkey_rsa_ctrl()
607 pm = RSA_PKCS1_PADDING; in pkey_rsa_ctrl_str()
Drsa_saos.c93 i=RSA_private_encrypt(i,s,sigret,rsa,RSA_PKCS1_PADDING); in RSA_sign_ASN1_OCTET_STRING()
126 i=RSA_public_decrypt((int)siglen,sigbuf,s,rsa,RSA_PKCS1_PADDING); in RSA_verify_ASN1_OCTET_STRING()
Drsa_sign.c141 i=RSA_private_encrypt(i,s,sigret,rsa,RSA_PKCS1_PADDING); in RSA_sign()
182 sigbuf,rm,rsa,RSA_PKCS1_PADDING); in int_rsa_verify()
199 i=RSA_public_decrypt((int)siglen,sigbuf,s,rsa,RSA_PKCS1_PADDING); in int_rsa_verify()
Drsa_test.c249 RSA_PKCS1_PADDING); in main()
258 RSA_PKCS1_PADDING); in main()
Drsa_eay.c197 case RSA_PKCS1_PADDING: in RSA_eay_public_encrypt()
378 case RSA_PKCS1_PADDING: in RSA_eay_private_encrypt()
597 case RSA_PKCS1_PADDING: in RSA_eay_private_decrypt()
707 case RSA_PKCS1_PADDING: in RSA_eay_public_decrypt()
Drsa.h268 #define RSA_PKCS1_PADDING 1 macro
Drsa_ameth.c575 if (pad_mode == RSA_PKCS1_PADDING) in rsa_item_sign()
/external/openssl/crypto/rsa/
Drsa_pmeth.c104 rctx->pad_mode = RSA_PKCS1_PADDING; in pkey_rsa_init()
229 if (rctx->pad_mode != RSA_PKCS1_PADDING) in pkey_rsa_sign()
248 else if (rctx->pad_mode == RSA_PKCS1_PADDING) in pkey_rsa_sign()
317 else if (rctx->pad_mode == RSA_PKCS1_PADDING) in pkey_rsa_verifyrecover()
370 if (rctx->pad_mode == RSA_PKCS1_PADDING) in pkey_rsa_verify()
476 if ((p1 >= RSA_PKCS1_PADDING) && (p1 <= RSA_PKCS1_PSS_PADDING)) in pkey_rsa_ctrl()
607 pm = RSA_PKCS1_PADDING; in pkey_rsa_ctrl_str()
Drsa_saos.c93 i=RSA_private_encrypt(i,s,sigret,rsa,RSA_PKCS1_PADDING); in RSA_sign_ASN1_OCTET_STRING()
126 i=RSA_public_decrypt((int)siglen,sigbuf,s,rsa,RSA_PKCS1_PADDING); in RSA_verify_ASN1_OCTET_STRING()
Drsa_sign.c141 i=RSA_private_encrypt(i,s,sigret,rsa,RSA_PKCS1_PADDING); in RSA_sign()
182 sigbuf,rm,rsa,RSA_PKCS1_PADDING); in int_rsa_verify()
199 i=RSA_public_decrypt((int)siglen,sigbuf,s,rsa,RSA_PKCS1_PADDING); in int_rsa_verify()
Drsa_test.c249 RSA_PKCS1_PADDING); in main()
258 RSA_PKCS1_PADDING); in main()
Drsa_eay.c197 case RSA_PKCS1_PADDING: in RSA_eay_public_encrypt()
378 case RSA_PKCS1_PADDING: in RSA_eay_private_encrypt()
597 case RSA_PKCS1_PADDING: in RSA_eay_private_decrypt()
707 case RSA_PKCS1_PADDING: in RSA_eay_public_decrypt()
Drsa.h268 #define RSA_PKCS1_PADDING 1 macro
Drsa_ameth.c575 if (pad_mode == RSA_PKCS1_PADDING) in rsa_item_sign()
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLCipherRSA.java81 private int padding = NativeCrypto.RSA_PKCS1_PADDING;
101 this.padding = NativeCrypto.RSA_PKCS1_PADDING; in engineSetPadding()
130 if (padding == NativeCrypto.RSA_PKCS1_PADDING) { in paddedBlockSizeBytes()
348 super(NativeCrypto.RSA_PKCS1_PADDING); in PKCS1()
DOpenSSLSignatureRawRSA.java142 key.getPkeyContext(), NativeCrypto.RSA_PKCS1_PADDING); in engineSign()
167 outputBuffer, key.getPkeyContext(), NativeCrypto.RSA_PKCS1_PADDING); in engineVerify()
/external/openssl/crypto/evp/
Dp_dec.c83 ret=RSA_private_decrypt(ekl,ek,key,priv->pkey.rsa,RSA_PKCS1_PADDING); in EVP_PKEY_decrypt_old()
Dp_enc.c82 ret=RSA_public_encrypt(key_len,key,ek,pubk->pkey.rsa,RSA_PKCS1_PADDING); in EVP_PKEY_encrypt_old()
/external/chromium_org/third_party/openssl/openssl/crypto/evp/
Dp_enc.c82 ret=RSA_public_encrypt(key_len,key,ek,pubk->pkey.rsa,RSA_PKCS1_PADDING); in EVP_PKEY_encrypt_old()
Dp_dec.c83 ret=RSA_private_decrypt(ekl,ek,key,priv->pkey.rsa,RSA_PKCS1_PADDING); in EVP_PKEY_decrypt_old()
/external/openssl/apps/
Drsautl.c117 pad = RSA_PKCS1_PADDING; in MAIN()
163 else if(!strcmp(*argv, "-pkcs")) pad = RSA_PKCS1_PADDING; in MAIN()
/external/chromium_org/third_party/openssl/openssl/apps/
Drsautl.c117 pad = RSA_PKCS1_PADDING; in MAIN()
163 else if(!strcmp(*argv, "-pkcs")) pad = RSA_PKCS1_PADDING; in MAIN()
/external/chromium_org/net/android/
Dkeystore_openssl.cc143 DCHECK_EQ(RSA_PKCS1_PADDING, padding); in RsaMethodPrivEnc()
144 if (padding != RSA_PKCS1_PADDING) { in RsaMethodPrivEnc()
/external/openssl/include/openssl/
Drsa.h268 #define RSA_PKCS1_PADDING 1 macro
/external/chromium_org/third_party/openssl/openssl/include/openssl/
Drsa.h268 #define RSA_PKCS1_PADDING 1 macro

12