Home
last modified time | relevance | path

Searched refs:pad_mode (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/
Dp_rsa.c79 int pad_mode; member
108 rctx->pad_mode = RSA_PKCS1_PADDING; in pkey_rsa_init()
131 dctx->pad_mode = sctx->pad_mode; in pkey_rsa_copy()
189 switch (rctx->pad_mode) { in pkey_rsa_sign()
206 return RSA_sign_raw(rsa, siglen, sig, *siglen, tbs, tbslen, rctx->pad_mode); in pkey_rsa_sign()
216 switch (rctx->pad_mode) { in pkey_rsa_verify()
233 rctx->pad_mode) || in pkey_rsa_verify()
261 rctx->pad_mode); in pkey_rsa_verify_recover()
264 if (rctx->pad_mode != RSA_PKCS1_PADDING) { in pkey_rsa_verify_recover()
323 if (rctx->pad_mode == RSA_PKCS1_OAEP_PADDING) { in pkey_rsa_encrypt()
[all …]
/external/boringssl/src/crypto/evp/
Dp_rsa.c79 int pad_mode; member
108 rctx->pad_mode = RSA_PKCS1_PADDING; in pkey_rsa_init()
131 dctx->pad_mode = sctx->pad_mode; in pkey_rsa_copy()
189 switch (rctx->pad_mode) { in pkey_rsa_sign()
206 return RSA_sign_raw(rsa, siglen, sig, *siglen, tbs, tbslen, rctx->pad_mode); in pkey_rsa_sign()
216 switch (rctx->pad_mode) { in pkey_rsa_verify()
233 rctx->pad_mode) || in pkey_rsa_verify()
261 rctx->pad_mode); in pkey_rsa_verify_recover()
264 if (rctx->pad_mode != RSA_PKCS1_PADDING) { in pkey_rsa_verify_recover()
323 if (rctx->pad_mode == RSA_PKCS1_OAEP_PADDING) { in pkey_rsa_encrypt()
[all …]
/external/boringssl/src/crypto/x509/
Dalgorithm.c76 int pad_mode; in x509_digest_sign_algorithm() local
77 if (!EVP_PKEY_CTX_get_rsa_padding(ctx->pctx, &pad_mode)) { in x509_digest_sign_algorithm()
81 if (pad_mode == RSA_PKCS1_PSS_PADDING) { in x509_digest_sign_algorithm()
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/
Dalgorithm.c76 int pad_mode; in x509_digest_sign_algorithm() local
77 if (!EVP_PKEY_CTX_get_rsa_padding(ctx->pctx, &pad_mode)) { in x509_digest_sign_algorithm()
81 if (pad_mode == RSA_PKCS1_PSS_PADDING) { in x509_digest_sign_algorithm()
/external/tensorflow/tensorflow/core/kernels/
Dconv_ops_test.cc187 const string& pad_mode, int stride, in CompareFusedAndSeparate() argument
218 paddings, pad_mode); in CompareFusedAndSeparate()
224 casted_filter, pad_mode, {1, stride, stride, 1}, padding, in CompareFusedAndSeparate()
247 int filter_count, const string& pad_mode, in CompareFusedPadOnlyAndSeparate() argument
272 paddings, pad_mode); in CompareFusedPadOnlyAndSeparate()
278 pad_mode, {1, stride, stride, 1}, padding); in CompareFusedPadOnlyAndSeparate()