Searched defs:ciphertext (Results 1 - 3 of 3) sorted by relevance

/sssd/src/util/crypto/libcrypto/
H A Dcrypto_nite.c48 uint8_t **ciphertext, size_t *cipherlen)
156 *ciphertext = out;
169 const uint8_t *ciphertext, size_t cipherlen,
186 if (!ciphertext || !cipherlen) return EINVAL;
226 ret = EVP_DigestSignUpdate(mdctx, ciphertext, cipherlen - hmaclen);
239 ret = CRYPTO_memcmp(&ciphertext[cipherlen - hmaclen], out, hmaclen);
248 iv = ciphertext;
264 ciphertext + evpivlen,
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
/sssd/src/util/crypto/nss/
H A Dnss_nite.c42 uint8_t **ciphertext, size_t *cipherlen)
164 *ciphertext = talloc_move(mem_ctx, &out);
176 const uint8_t *ciphertext, size_t cipherlen,
240 sret = PK11_DigestOp(hctx->ectx, ciphertext, cipherlen - hmaclen);
252 ret = NSS_SecureMemcmp(&ciphertext[cipherlen - hmaclen], out, hmaclen);
266 memcpy(ivbuf, ciphertext, ivlen);
282 ciphertext + ivlen, cipherlen - ivlen - hmaclen);
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
/sssd/src/responder/secrets/
H A Dlocal.c85 char **ciphertext)
116 *ciphertext = output;
83 local_encrypt(struct local_context *lctx, TALLOC_CTX *mem_ctx, const char *secret, const char *enctype, char **ciphertext) argument

Completed in 308 milliseconds