Searched refs:paddingMode (Results 1 – 7 of 7) sorted by relevance
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/cipher/src/ |
D | cipher_sm4_openssl.c | 164 switch (cipherImpl->attr.paddingMode) { in GetPaddingMode() 202 …if (cipherImpl->attr.paddingMode != HCF_ALG_NOPADDING && cipherImpl->attr.paddingMode != HCF_ALG_P… in CheckParam() 203 && cipherImpl->attr.paddingMode != HCF_ALG_PADDING_PKCS7) { in CheckParam() 204 LOGE("Invalid padding mode %u", cipherImpl->attr.paddingMode); in CheckParam()
|
D | cipher_rsa_openssl.c | 187 (void)GetOpensslPadding(attr.paddingMode, &opensslPadding); in SetDetailParams() 193 if (attr.paddingMode != HCF_OPENSSL_RSA_PKCS1_OAEP_PADDING) { in SetDetailParams() 241 if (attr.paddingMode != HCF_OPENSSL_RSA_PKCS1_OAEP_PADDING) { in SetRsaCipherSpecUint8Array() 294 if (attr.paddingMode != HCF_OPENSSL_RSA_PKCS1_OAEP_PADDING) { in GetRsaCipherSpecUint8Array() 327 if (attr.paddingMode != HCF_OPENSSL_RSA_PKCS1_OAEP_PADDING) { in GetRsaCipherSpecString() 483 if (GetOpensslPadding(params->paddingMode, &opensslPadding) != HCF_SUCCESS) { in CheckRsaCipherParams() 492 if (params->paddingMode == HCF_OPENSSL_RSA_PKCS1_OAEP_PADDING) { in CheckRsaCipherParams()
|
D | cipher_3des_openssl.c | 134 int32_t padding = (cipherImpl->attr.paddingMode == HCF_ALG_NOPADDING) ? 0 : EVP_PADDING_PKCS7; in EngineCipherInit()
|
D | cipher_aes_openssl.c | 402 int32_t padding = (cipherImpl->attr.paddingMode == HCF_ALG_NOPADDING) ? 0 : EVP_PADDING_PKCS7; in EngineCipherInit()
|
/base/security/crypto_framework/common/inc/ |
D | params_parser.h | 139 HcfAlgParaValue paddingMode; member
|
/base/security/crypto_framework/test/unittest/src/ |
D | crypto_rsa_cipher_test.cpp | 2353 .paddingMode = HCF_OPENSSL_RSA_PKCS1_PADDING, 2369 .paddingMode = HCF_OPENSSL_RSA_PSS_PADDING, 2386 .paddingMode = HCF_OPENSSL_RSA_PKCS1_PADDING, 2407 .paddingMode = HCF_OPENSSL_RSA_PKCS1_PADDING, 2442 .paddingMode = HCF_OPENSSL_RSA_PKCS1_PADDING, 2467 .paddingMode = HCF_OPENSSL_RSA_PKCS1_PADDING, 2488 .paddingMode = HCF_OPENSSL_RSA_PKCS1_PADDING, 2510 .paddingMode = HCF_OPENSSL_RSA_PKCS1_PADDING, 2531 .paddingMode = HCF_OPENSSL_RSA_PKCS1_PADDING, 2553 .paddingMode = HCF_OPENSSL_RSA_PKCS1_PADDING, [all …]
|
/base/security/crypto_framework/frameworks/crypto_operation/ |
D | cipher.c | 127 cipherAttr->paddingMode = value; in SetPadding()
|