Searched defs:plainlen (Results 1 - 4 of 4) sorted by relevance
/sssd/src/util/crypto/libcrypto/ |
H A D | crypto_nite.c | 47 const uint8_t *plaintext, size_t plainlen, 63 if (!plaintext || !plainlen) return EINVAL; 81 outlen = plainlen + (2 * EVP_CIPHER_block_size(cipher)) 105 ret = EVP_EncryptUpdate(ctx, out + outlen, &tmplen, plaintext, plainlen); 170 uint8_t **plaintext, size_t *plainlen) 280 *plainlen = outlen; 45 sss_encrypt(TALLOC_CTX *mem_ctx, enum encmethod enctype, uint8_t *key, size_t keylen, const uint8_t *plaintext, size_t plainlen, uint8_t **ciphertext, size_t *cipherlen) argument 167 sss_decrypt(TALLOC_CTX *mem_ctx, enum encmethod enctype, uint8_t *key, size_t keylen, const uint8_t *ciphertext, size_t cipherlen, uint8_t **plaintext, size_t *plainlen) argument
|
H A D | crypto_obfuscate.c | 204 int plainlen; local 293 if (!EVP_DecryptUpdate(ctx, (unsigned char *)pwdbuf, &plainlen, cryptotext, ctsize)) { 298 if (!EVP_DecryptFinal_ex(ctx, (unsigned char *)pwdbuf + plainlen, &digestlen)) {
|
/sssd/src/util/crypto/nss/ |
H A D | nss_nite.c | 41 const uint8_t *plaintext, size_t plainlen, 62 if (!plaintext || !plainlen) return EINVAL; 86 outlen = plainlen + (2 * enc->bsize) + ivlen + hmaclen; 111 outlen - clen, plaintext, plainlen); 177 uint8_t **plaintext, size_t *plainlen) 194 if (!plaintext || !plainlen) return EINVAL; 298 *plainlen = outlen; 39 sss_encrypt(TALLOC_CTX *mem_ctx, enum encmethod enctype, uint8_t *key, size_t keylen, const uint8_t *plaintext, size_t plainlen, uint8_t **ciphertext, size_t *cipherlen) argument 174 sss_decrypt(TALLOC_CTX *mem_ctx, enum encmethod enctype, uint8_t *key, size_t keylen, const uint8_t *ciphertext, size_t cipherlen, uint8_t **plaintext, size_t *plainlen) argument
|
H A D | nss_obfuscate.c | 205 int plainlen; local 304 sret = PK11_CipherOp(cctx->ectx, (unsigned char *) pwdbuf, &plainlen, 314 sret = PK11_DigestFinal(cctx->ectx, (unsigned char *) pwdbuf+plainlen, 315 &digestlen, ctsize - plainlen);
|
Completed in 21 milliseconds