/freebsd-9.3-release/crypto/openssl/crypto/evp/ |
H A D | evp_test.c | 135 const unsigned char *ciphertext, int cn, int encdec) 149 hexdump(stdout, "Ciphertext", ciphertext, cn); 182 if (memcmp(out, ciphertext, cn)) { 185 hexdump(stderr, "Expected", ciphertext, cn); 198 if (!EVP_DecryptUpdate(&ctx, out, &outl, ciphertext, cn)) { 231 const unsigned char *ciphertext, int cn, int encdec) 239 test1(c, key, kn, iv, in, plaintext, pn, ciphertext, cn, encdec); 246 const unsigned char *ciphertext, unsigned int cn) 259 hexdump(stdout, "Digest", ciphertext, cn); 285 if (memcmp(md, ciphertext, c 132 test1(const EVP_CIPHER *c, const unsigned char *key, int kn, const unsigned char *iv, int in, const unsigned char *plaintext, int pn, const unsigned char *ciphertext, int cn, int encdec) argument 228 test_cipher(const char *cipher, const unsigned char *key, int kn, const unsigned char *iv, int in, const unsigned char *plaintext, int pn, const unsigned char *ciphertext, int cn, int encdec) argument 244 test_digest(const char *digest, const unsigned char *plaintext, int pn, const unsigned char *ciphertext, unsigned int cn) argument 349 unsigned char *iv, *key, *plaintext, *ciphertext; local [all...] |
/freebsd-9.3-release/crypto/openssl/fips/aes/ |
H A D | fips_aesavs.c | 97 unsigned char *plaintext, unsigned char *ciphertext, 201 EVP_Cipher(ctx, ciphertext, plaintext, len); 203 EVP_Cipher(ctx, plaintext, ciphertext, len); 237 unsigned char ciphertext[64 + 4]; local 382 ciphertext[n1] = ctext[j - n2][0]; 385 sb(ciphertext, n1, gb(ctext[j - n2], 0)); 389 memcpy(ciphertext, ctext[j], 16); 392 memcpy(ciphertext, ctext[j - 1] + 8, 8); 393 memcpy(ciphertext + 8, ctext[j], 16); 396 memcpy(ciphertext, ctex 92 AESTest(EVP_CIPHER_CTX *ctx, char *amode, int akeysz, unsigned char *aKey, unsigned char *iVec, int dir, unsigned char *plaintext, unsigned char *ciphertext, int len) argument 502 unsigned char ciphertext[2048]; local [all...] |
H A D | fips_aes_selftest.c | 59 unsigned char ciphertext[16]; member in struct:__anon142 91 tests[n].ciphertext, 16) <= 0)
|
/freebsd-9.3-release/secure/lib/libcrypt/ |
H A D | crypt-blowfish.c | 147 u_int8_t ciphertext[4 * BCRYPT_BLOCKS] = "OrpheanBeholderScryDoubt"; local 232 cdata[i] = Blowfish_stream2word(ciphertext, 4 * BCRYPT_BLOCKS, &j); 239 ciphertext[4 * i + 3] = cdata[i] & 0xff; 241 ciphertext[4 * i + 2] = cdata[i] & 0xff; 243 ciphertext[4 * i + 1] = cdata[i] & 0xff; 245 ciphertext[4 * i + 0] = cdata[i] & 0xff; 259 encode_base64((u_int8_t *) encrypted + strlen(encrypted), ciphertext, 262 memset(ciphertext, 0, sizeof(ciphertext));
|
/freebsd-9.3-release/crypto/openssl/fips/des/ |
H A D | fips_des_selftest.c | 61 unsigned char ciphertext[8]; member in struct:__anon143 88 unsigned char ciphertext[8]; member in struct:__anon144 128 tests2[n].plaintext, tests2[n].ciphertext, 8)) 136 tests3[n].plaintext, tests3[n].ciphertext, 8))
|
H A D | fips_desmovs.c | 275 unsigned char ciphertext[2048]; local 494 dir, ciphertext, plaintext, len); 495 OutputValue("CIPHERTEXT", ciphertext, len, rfp, 511 ciphertext); 513 len = hex2bin(ibuf + 13, ciphertext); 520 PrintValue("CIPHERTEXT", ciphertext, len); 523 dir, ciphertext, len, rfp); 528 dir, plaintext, ciphertext, len);
|
/freebsd-9.3-release/crypto/openssh/openbsd-compat/ |
H A D | bcrypt_pbkdf.c | 68 u_int8_t ciphertext[BCRYPT_HASHSIZE] = local 86 cdata[i] = Blowfish_stream2word(ciphertext, sizeof(ciphertext), 100 memset(ciphertext, 0, sizeof(ciphertext));
|
/freebsd-9.3-release/crypto/openssl/test/ |
H A D | igetest.c | 281 unsigned char ciphertext[BIG_TEST_SIZE]; local 300 AES_ige_encrypt(plaintext, ciphertext, TEST_SIZE, &key, iv, AES_ENCRYPT); 304 AES_ige_encrypt(ciphertext, checktext, TEST_SIZE, &key, iv, AES_DECRYPT); 316 AES_ige_encrypt(plaintext, ciphertext, TEST_SIZE / 2, &key, iv, 319 ciphertext + TEST_SIZE / 2, TEST_SIZE / 2, 324 AES_ige_encrypt(ciphertext, checktext, TEST_SIZE, &key, iv, AES_DECRYPT); 336 AES_ige_encrypt(plaintext, ciphertext, TEST_SIZE / 2, &key, iv, 339 ciphertext + TEST_SIZE / 2, TEST_SIZE / 2, 344 AES_ige_encrypt(ciphertext, checktext, TEST_SIZE / 2, &key, iv, 346 AES_ige_encrypt(ciphertext [all...] |
/freebsd-9.3-release/crypto/openssl/fips/ |
H A D | fips.h | 101 const unsigned char *ciphertext, int len);
|
H A D | fips.c | 494 const unsigned char *ciphertext, int len) 502 if (memcmp(citmp, ciphertext, len)) 490 fips_cipher_test(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv, const unsigned char *plaintext, const unsigned char *ciphertext, int len) argument
|
/freebsd-9.3-release/tools/tools/crypto/ |
H A D | cryptotest.c | 250 char *cleartext, *ciphertext, *originaltext; local 297 ciphertext = cleartext+size; 324 cop.dst = ciphertext; 331 if (verify && bcmp(ciphertext, cleartext, size) == 0) { 333 hexdump(ciphertext, size); 341 cop.src = ciphertext; 365 cop.mac = ciphertext;
|
/freebsd-9.3-release/crypto/heimdal/lib/hx509/ |
H A D | crypto.c | 1160 heim_octet_string *ciphertext) 1170 ciphertext->data = NULL; 1171 ciphertext->length = 0; 1221 ciphertext->length = ret; 1222 ciphertext->data = to; 1226 der_free_octet_string(ciphertext); 1236 const heim_octet_string *ciphertext, 1258 ret = RSA_private_decrypt(ciphertext->length, ciphertext->data, 2106 heim_octet_string **ciphertext) 1156 _hx509_public_encrypt(hx509_context context, const heim_octet_string *cleartext, const Certificate *cert, heim_oid *encryption_oid, heim_octet_string *ciphertext) argument 1235 _hx509_private_key_private_decrypt(hx509_context context, const heim_octet_string *ciphertext, const heim_oid *encryption_oid, hx509_private_key p, heim_octet_string *cleartext) argument 2102 hx509_crypto_encrypt(hx509_crypto crypto, const void *data, const size_t length, const heim_octet_string *ivec, heim_octet_string **ciphertext) argument [all...] |
H A D | cert.c | 1500 const heim_octet_string *ciphertext, 1515 ciphertext, 1526 heim_octet_string *ciphertext) 1530 encryption_oid, ciphertext); 1499 _hx509_cert_private_decrypt(hx509_context context, const heim_octet_string *ciphertext, const heim_oid *encryption_oid, hx509_cert p, heim_octet_string *cleartext) argument 1522 _hx509_cert_public_encrypt(hx509_context context, const heim_octet_string *cleartext, const hx509_cert p, heim_oid *encryption_oid, heim_octet_string *ciphertext) argument
|
/freebsd-9.3-release/crypto/heimdal/lib/krb5/ |
H A D | mit_glue.c | 235 input->ciphertext.data, input->ciphertext.length, 276 &output->ciphertext,
|
H A D | aes-test.c | 620 e.ciphertext = *cipher;
|
H A D | krb5.h | 106 krb5_data ciphertext; member in struct:krb5_enc_data
|
/freebsd-9.3-release/sys/crypto/camellia/ |
H A D | camellia.c | 1274 unsigned char *ciphertext) 1296 PUTU32(ciphertext, tmp[0]); 1297 PUTU32(ciphertext+4, tmp[1]); 1298 PUTU32(ciphertext+8, tmp[2]); 1299 PUTU32(ciphertext+12, tmp[3]); 1304 const unsigned char *ciphertext, 1310 tmp[0] = GETU32(ciphertext); 1311 tmp[1] = GETU32(ciphertext + 4); 1312 tmp[2] = GETU32(ciphertext + 8); 1313 tmp[3] = GETU32(ciphertext 1271 Camellia_EncryptBlock(const int keyBitLength, const unsigned char *plaintext, const uint32_t *subkey, unsigned char *ciphertext) argument 1303 Camellia_DecryptBlock(const int keyBitLength, const unsigned char *ciphertext, const uint32_t *subkey, unsigned char *plaintext) argument [all...] |
/freebsd-9.3-release/crypto/openssl/ssl/ |
H A D | kssl.c | 1255 new5ticket->enc_part.ciphertext.length = 1257 if ((new5ticket->enc_part.ciphertext.data = 1265 memcpy(new5ticket->enc_part.ciphertext.data,
|