/openssl/crypto/modes/ |
H A D | xts128.c | 33 } tweak, scratch; in CRYPTO_xts128_encrypt() local 48 memcpy(scratch.c, inp, 16); in CRYPTO_xts128_encrypt() 49 scratch.u[0] ^= tweak.u[0]; in CRYPTO_xts128_encrypt() 50 scratch.u[1] ^= tweak.u[1]; in CRYPTO_xts128_encrypt() 55 (*ctx->block1) (scratch.c, scratch.c, ctx->key1); in CRYPTO_xts128_encrypt() 57 scratch.u[0] ^= tweak.u[0]; in CRYPTO_xts128_encrypt() 96 scratch.c[i] = c; in CRYPTO_xts128_encrypt() 100 (*ctx->block1) (scratch.c, scratch.c, ctx->key1); in CRYPTO_xts128_encrypt() 138 (*ctx->block1) (scratch.c, scratch.c, ctx->key1); in CRYPTO_xts128_encrypt() 145 scratch.c[i] = c; in CRYPTO_xts128_encrypt() [all …]
|
H A D | xts128gb.c | 33 } tweak, scratch; in ossl_crypto_xts128gb_encrypt() local 48 memcpy(scratch.c, inp, 16); in ossl_crypto_xts128gb_encrypt() 49 scratch.u[0] ^= tweak.u[0]; in ossl_crypto_xts128gb_encrypt() 50 scratch.u[1] ^= tweak.u[1]; in ossl_crypto_xts128gb_encrypt() 55 (*ctx->block1) (scratch.c, scratch.c, ctx->key1); in ossl_crypto_xts128gb_encrypt() 57 scratch.u[0] ^= tweak.u[0]; in ossl_crypto_xts128gb_encrypt() 115 scratch.c[i] = c; in ossl_crypto_xts128gb_encrypt() 119 (*ctx->block1) (scratch.c, scratch.c, ctx->key1); in ossl_crypto_xts128gb_encrypt() 176 (*ctx->block1) (scratch.c, scratch.c, ctx->key1); in ossl_crypto_xts128gb_encrypt() 183 scratch.c[i] = c; in ossl_crypto_xts128gb_encrypt() [all …]
|
H A D | ccm128.c | 149 } scratch; in CRYPTO_ccm128_encrypt() local 188 temp.u[0] ^= scratch.u[0]; in CRYPTO_ccm128_encrypt() 189 temp.u[1] ^= scratch.u[1]; in CRYPTO_ccm128_encrypt() 213 ctx->cmac.u[0] ^= scratch.u[0]; in CRYPTO_ccm128_encrypt() 214 ctx->cmac.u[1] ^= scratch.u[1]; in CRYPTO_ccm128_encrypt() 233 } scratch; in CRYPTO_ccm128_decrypt() local 263 memcpy(out, scratch.c, 16); in CRYPTO_ccm128_decrypt() 288 ctx->cmac.u[0] ^= scratch.u[0]; in CRYPTO_ccm128_decrypt() 289 ctx->cmac.u[1] ^= scratch.u[1]; in CRYPTO_ccm128_decrypt() 322 } scratch; in CRYPTO_ccm128_encrypt_ccm64() local [all …]
|
/openssl/test/ |
H A D | bio_dgram_test.c | 497 uint8_t scratch[2048 + 4], scratch2[2048]; in test_bio_dgram_pair() local 548 if (!TEST_int_le(mtu1, sizeof(scratch) - 4)) in test_bio_dgram_pair() 552 if (!TEST_int_eq(random_data(key, scratch, sizeof(scratch), i), 1)) in test_bio_dgram_pair() 555 blen = ((*(uint32_t*)scratch) % mtu1) + 1; in test_bio_dgram_pair() 556 r = BIO_write(bio1, scratch + 4, blen); in test_bio_dgram_pair() 585 if (!TEST_int_eq(random_data(key, scratch, sizeof(scratch), i), 1)) in test_bio_dgram_pair() 602 if (!TEST_int_eq(random_data(key, scratch, sizeof(scratch), 0), 1)) in test_bio_dgram_pair() 605 msgs[0].data = scratch; in test_bio_dgram_pair() 607 msgs[1].data = scratch + 19; in test_bio_dgram_pair() 742 r = BIO_write(bio1, scratch, 64); in test_bio_dgram_pair() [all …]
|
H A D | bntest.c | 1930 uint8_t scratch[10], reversed[10]; in test_bn2signed() local 1944 i = sizeof(scratch) - test->mpi_len; in test_bn2signed() 1945 if (!TEST_int_eq(BN_signed_bn2bin(bn, scratch, sizeof(scratch)), in test_bn2signed() 1946 sizeof(scratch)) in test_bn2signed() 1947 || !TEST_true(copy_reversed(reversed, scratch, sizeof(scratch))) in test_bn2signed() 1951 if (!TEST_ptr(bn2 = BN_signed_bin2bn(scratch, sizeof(scratch), NULL)) in test_bn2signed() 1972 if (!TEST_int_eq(BN_signed_bn2lebin(bn, scratch, sizeof(scratch)), in test_bn2signed() 1973 sizeof(scratch)) in test_bn2signed() 1974 || !TEST_true(copy_reversed(reversed, scratch, sizeof(scratch))) in test_bn2signed() 1978 if (!TEST_ptr(bn2 = BN_signed_lebin2bn(scratch, sizeof(scratch), NULL)) in test_bn2signed() [all …]
|
H A D | threadstest.c | 1133 uint8_t scratch[64]; in test_bio_dgram_pair_worker() local 1140 msg.data = scratch; in test_bio_dgram_pair_worker() 1141 msg.data_len = sizeof(scratch); in test_bio_dgram_pair_worker()
|
H A D | quicapitest.c | 56 unsigned char buf[20], scratch[64]; in test_quic_write_read() local 157 if (!TEST_true(SSL_export_keying_material(clientquic, scratch, in test_quic_write_read() 158 sizeof(scratch), "test", 4, (unsigned char *)"ctx", 3, in test_quic_write_read()
|
/openssl/crypto/bn/asm/ |
H A D | via-mont.pl | 106 $scratch=&DWP(20,"esp"); 155 &mov ($scratch,"edi");
|
H A D | sparcv8plus.S | 149 .register %g2,#scratch 150 .register %g3,#scratch 154 .register %g2,#scratch 155 .register %g3,#scratch
|
/openssl/ssl/quic/ |
H A D | quic_txp.c | 101 unsigned char *scratch; /* scratch buffer for packet assembly */ member 206 unsigned char *scratch; in tx_helper_init() local 208 scratch = OPENSSL_realloc(h->txp->el[enc_level].scratch, max_ppl); in tx_helper_init() 209 if (scratch == NULL) in tx_helper_init() 212 h->txp->el[enc_level].scratch = scratch; in tx_helper_init() 297 data = (unsigned char *)el->scratch + h->scratch_bytes; in tx_helper_begin() 509 OPENSSL_free(txp->el[enc_level].scratch); in ossl_quic_tx_packetiser_free()
|
/openssl/external/perl/Text-Template-1.56/ |
H A D | README | 54 scratch in January 1999. The new version, 1.0, was much faster,
|
/openssl/crypto/ |
H A D | sparccpuid.S | 15 .register %g2,#scratch 16 .register %g3,#scratch
|
/openssl/doc/man1/ |
H A D | openssl-x509.pod.in | 91 generate certificates from scratch or from certification requests 127 Generate a certificate from scratch, not using an input certificate 526 unless the B<-new> option is given, which generates a certificate from scratch.
|
H A D | openssl-req.pod.in | 303 to a certificate; otherwise a request is created from scratch.
|
/openssl/crypto/des/asm/ |
H A D | des_enc.m4 | 39 .register %g2,#scratch 40 .register %g3,#scratch
|
/openssl/doc/designs/quic-design/ |
H A D | dgram-api.md | 457 We will also implement from scratch a BIO_dgram_pair. This will be provided as a
|
/openssl/ |
H A D | CHANGES.md | 20496 C file. To rebuild all the error codes from scratch (the old behaviour)
|