Lines Matching refs:cipherText
277 const apr_size_t inlen, unsigned char **cipherText, in encrypt_block() argument
326 rv = apr_crypto_block_encrypt(cipherText, cipherTextLen, in, inlen, block); in encrypt_block()
336 ABTS_ASSERT(tc, "apr_crypto_block_encrypt failed to allocate buffer", *cipherText != NULL); in encrypt_block()
342 rv = apr_crypto_block_encrypt_finish(*cipherText + *cipherTextLen, &len, in encrypt_block()
362 return *cipherText; in encrypt_block()
368 const apr_crypto_key_t *key, unsigned char *cipherText, in decrypt_block() argument
379 if (!driver || !f || !key || !cipherText) { in decrypt_block()
409 rv = apr_crypto_block_decrypt(plainText, plainTextLen, cipherText, in decrypt_block()
477 unsigned char *cipherText = NULL; in crypto_block_cross() local
489 cipherText = encrypt_block(tc, pool, driver1, f1, key1, in, inlen, in crypto_block_cross()
490 &cipherText, &cipherTextLen, &iv, &blockSize, description); in crypto_block_cross()
491 plainText = decrypt_block(tc, pool, driver2, f2, key2, cipherText, in crypto_block_cross()
495 if (cipherText && plainText) { in crypto_block_cross()
509 cipherText = NULL; in crypto_block_cross()
511 cipherText = encrypt_block(tc, pool, driver1, f1, key3, in, inlen, in crypto_block_cross()
512 &cipherText, &cipherTextLen, &iv, &blockSize, description); in crypto_block_cross()
513 plainText = decrypt_block(tc, pool, driver2, f2, key4, cipherText, in crypto_block_cross()
517 if (cipherText && plainText) { in crypto_block_cross()
531 cipherText = NULL; in crypto_block_cross()
533 cipherText = encrypt_block(tc, pool, driver1, f1, key5, in, inlen, in crypto_block_cross()
534 &cipherText, &cipherTextLen, &iv, &blockSize, description); in crypto_block_cross()
535 plainText = decrypt_block(tc, pool, driver2, f2, key6, cipherText, in crypto_block_cross()
539 if (cipherText && plainText) { in crypto_block_cross()