pkcs5_decrypt.h
X.509 common definitions.
error_t pkcs5DecryptPbes1(const X509AlgoId *encryptionAlgoId, const char_t *password, const uint8_t *ciphertext, size_t ciphertextLen, uint8_t *plaintext, size_t *plaintextLen)
PBES1 decryption operation.
Definition: pkcs5_decrypt.c:108
error_t pkcs5ParsePbes1Params(const uint8_t *data, size_t length, Pkcs5Pbes1Params *pbes1Params)
Parse PBES1 parameters.
Definition: pkcs5_decrypt.c:393
PKCS #5 common definitions.
error_t pkcs5ParseKeyDerivationFunc(const uint8_t *data, size_t length, size_t *totalLength, Pkcs5KeyDerivationFunc *keyDerivationFunc)
Parse KeyDerivationFunc structure.
Definition: pkcs5_decrypt.c:507
error_t pkcs5ParsePbkdf2Params(const uint8_t *data, size_t length, Pkcs5KeyDerivationFunc *keyDerivationFunc)
Parse PBKDF2 parameters.
Definition: pkcs5_decrypt.c:566
error_t pkcs5Decrypt(const X509AlgoId *encryptionAlgoId, const char_t *password, const uint8_t *ciphertext, size_t ciphertextLen, uint8_t *plaintext, size_t *plaintextLen)
PKCS #5 decryption operation.
Definition: pkcs5_decrypt.c:61
error_t pkcs5DecryptPbes2(const X509AlgoId *encryptionAlgoId, const char_t *password, const uint8_t *ciphertext, size_t ciphertextLen, uint8_t *plaintext, size_t *plaintextLen)
PBES2 decryption operation.
Definition: pkcs5_decrypt.c:247
General definitions for cryptographic algorithms.
error_t pkcs5ParseEncryptionScheme(const uint8_t *data, size_t length, size_t *totalLength, Pkcs5EncryptionScheme *encryptionScheme)
Parse EncryptionScheme structure.
Definition: pkcs5_decrypt.c:684
error_t pkcs5ParsePbes2Params(const uint8_t *data, size_t length, Pkcs5Pbes2Params *pbes2Params)
Parse PBES2 parameters.
Definition: pkcs5_decrypt.c:454