Home
last modified time | relevance | path

Searched defs:cryptoCtx (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
H A Dhks_openssl_hash.c92 int32_t HksOpensslHashInit(void **cryptoCtx, uint32_t alg) in HksOpensslHashInit()
119 int32_t HksOpensslHashUpdate(void *cryptoCtx, const struct HksBlob *msg) in HksOpensslHashUpdate()
134 int32_t HksOpensslHashFinal(void **cryptoCtx, const struct HksBlob *msg, struct HksBlob *hash) in HksOpensslHashFinal()
178 void HksOpensslHashFreeCtx(void **cryptoCtx) in HksOpensslHashFreeCtx()
H A Dhks_openssl_sm4.c78 int32_t HksOpensslSm4EncryptInit(void **cryptoCtx, const struct HksBlob *key, const struct HksUsage… in HksOpensslSm4EncryptInit()
104 int32_t HksOpensslSm4EncryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *… in HksOpensslSm4EncryptUpdate()
135 int32_t HksOpensslSm4EncryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *… in HksOpensslSm4EncryptFinal()
166 int32_t HksOpensslSm4DecryptInit(void **cryptoCtx, const struct HksBlob *key, in HksOpensslSm4DecryptInit()
193 int32_t HksOpensslSm4DecryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *… in HksOpensslSm4DecryptUpdate()
222 int32_t HksOpensslSm4DecryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *… in HksOpensslSm4DecryptFinal()
252 void HksOpensslSm4HalFreeCtx(void **cryptoCtx) in HksOpensslSm4HalFreeCtx()
H A Dhks_openssl_aes.c141 void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) in OpensslBlockCipherEncryptUpdate()
159 void **cryptoCtx, const struct HksBlob *input, struct HksBlob *output, bool isEncrypt) in OpensslBlockCipherHandleFinalThree()
203 void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) in OpensslBlockCipherEncryptFinalThree()
210 void *cryptoCtx, const struct HksBlob *message, struct HksBlob *plainText) in OpensslBlockCipherDecryptUpdate()
229 void **cryptoCtx, const struct HksBlob *message, struct HksBlob *plainText) in OpensslBlockCipherDecryptFinalThree()
549 static int32_t OpensslAesAeadEnryptUpdate(void *cryptoCtx, const struct HksBlob *message, in OpensslAesAeadEnryptUpdate()
566 static int32_t OpensslAesAeadDecryptUpdate(void *cryptoCtx, in OpensslAesAeadDecryptUpdate()
583 static int32_t OpensslAesAeadEncryptFinalGCM(void **cryptoCtx, const struct HksBlob *message, in OpensslAesAeadEncryptFinalGCM()
718 const bool isEncrypt, void **cryptoCtx) in OpensslAesAeadCipherInit()
1071 int32_t HksOpensslAesDecryptInit(void **cryptoCtx, const struct HksBlob *key, in HksOpensslAesDecryptInit()
[all …]
H A Dhks_openssl_hmac.c112 int32_t HksOpensslHmacInit(void **cryptoCtx, const struct HksBlob *key, uint32_t digestAlg) in HksOpensslHmacInit()
161 int32_t HksOpensslHmacUpdate(void *cryptoCtx, const struct HksBlob *msg) in HksOpensslHmacUpdate()
179 int32_t HksOpensslHmacFinal(void **cryptoCtx, struct HksBlob *msg, struct HksBlob *mac) in HksOpensslHmacFinal()
226 void HksOpensslHmacHalFreeCtx(void **cryptoCtx) in HksOpensslHmacHalFreeCtx()
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
H A Dhks_mbedtls_aes.c143 static int32_t AesCbcNoPaddingCryptInit(void **cryptoCtx, const struct HksBlob *key, in AesCbcNoPaddingCryptInit()
182 static int32_t AesCbcNoPaddingCryptUpdate(void *cryptoCtx, in AesCbcNoPaddingCryptUpdate()
228 static int32_t AesCbcNoPaddingCryptFinal(void **cryptoCtx, in AesCbcNoPaddingCryptFinal()
349 static int32_t AesCbcPkcs7CryptInit(void **cryptoCtx, const struct HksBlob *key, in AesCbcPkcs7CryptInit()
483 static int32_t AesCbcCryptInit(void **cryptoCtx, const struct HksBlob *key, in AesCbcCryptInit()
501 static int32_t AesCbcCryptUpdate(void *cryptoCtx, const uint8_t padding, in AesCbcCryptUpdate()
519 static int32_t AesCbcCryptFinal(void **cryptoCtx, const uint8_t padding, in AesCbcCryptFinal()
800 static int32_t AesDecryptGcmUpdate(void *cryptoCtx, in AesDecryptGcmUpdate()
815 static int32_t AesDecryptGcmFinal(void **cryptoCtx, const struct HksBlob *message, in AesDecryptGcmFinal()
1076 static int32_t AesCtrCryptUpdate(void *cryptoCtx, in AesCtrCryptUpdate()
[all …]
H A Dhks_mbedtls_hmac.c115 int32_t HksMbedtlsHmacInit(void **cryptoCtx, const struct HksBlob *key, uint32_t digestAlg) in HksMbedtlsHmacInit()
162 int32_t HksMbedtlsHmacUpdate(void *cryptoCtx, const struct HksBlob *msg) in HksMbedtlsHmacUpdate()
177 int32_t HksMbedtlsHmacFinal(void **cryptoCtx, struct HksBlob *msg, struct HksBlob *mac) in HksMbedtlsHmacFinal()
215 void HksMbedtlsHmacHalFreeCtx(void **cryptoCtx) in HksMbedtlsHmacHalFreeCtx()
H A Dhks_mbedtls_hash.c419 static void HksMbedtlsMd5HashFreeCtx(void **cryptoCtx) in HksMbedtlsMd5HashFreeCtx()
431 static void HksMbedtlsSHA1HashFreeCtx(void **cryptoCtx) in HksMbedtlsSHA1HashFreeCtx()
443 static void HksMbedtlsSha224Sha256HashFreeCtx(void **cryptoCtx) in HksMbedtlsSha224Sha256HashFreeCtx()
455 static void HksMbedtlsSha384Sha512HashFreeCtx(void **cryptoCtx) in HksMbedtlsSha384Sha512HashFreeCtx()
467 int32_t HksMbedtlsHashInit(void **cryptoCtx, uint32_t digestAlg) in HksMbedtlsHashInit()
498 int32_t HksMbedtlsHashUpdate(void *cryptoCtx, const struct HksBlob *msg) in HksMbedtlsHashUpdate()
527 int32_t HksMbedtlsHashFinal(void **cryptoCtx, const struct HksBlob *msg, struct HksBlob *hash) in HksMbedtlsHashFinal()
567 void HksMbedtlsHashFreeCtx(void **cryptoCtx) in HksMbedtlsHashFreeCtx()
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
H A Ddlp_crypt.cpp220 … const struct DlpBlob* key, const struct DlpUsageSpec* usageSpec, bool isEncrypt, void** cryptoCtx) in OpensslAesCipherCryptInit()
290 void** cryptoCtx, const struct DlpBlob* message, struct DlpBlob* cipherText) in OpensslAesCipherEncryptFinalThree()
348 void** cryptoCtx, const struct DlpBlob* message, struct DlpBlob* plainText) in OpensslAesCipherDecryptFinalThree()
439 int32_t DlpOpensslAesEncryptUpdate(void* cryptoCtx, const struct DlpBlob* message, struct DlpBlob* … in DlpOpensslAesEncryptUpdate()
541 int32_t DlpOpensslAesDecryptUpdate(void* cryptoCtx, const struct DlpBlob* message, struct DlpBlob* … in DlpOpensslAesDecryptUpdate()
576 int32_t DlpOpensslAesDecryptFinal(void** cryptoCtx, const struct DlpBlob* message, struct DlpBlob* … in DlpOpensslAesDecryptFinal()
611 void DlpOpensslAesHalFreeCtx(void** cryptoCtx) in DlpOpensslAesHalFreeCtx()
815 int32_t DlpOpensslHashInit(void** cryptoCtx, uint32_t alg) in DlpOpensslHashInit()
847 int32_t DlpOpensslHashUpdate(void* cryptoCtx, const struct DlpBlob* msg) in DlpOpensslHashUpdate()
867 int32_t DlpOpensslHashFinal(void** cryptoCtx, const struct DlpBlob* msg, struct DlpBlob* hash) in DlpOpensslHashFinal()
[all …]
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/test/
H A Ddlp_crypt_test.cpp502 …DlpOpensslAesCtx* cryptoCtx = reinterpret_cast<DlpOpensslAesCtx*>(calloc(1, sizeof(DlpOpensslAesCt… variable