Home
last modified time | relevance | path

Searched refs:additionalData (Results 1 – 9 of 9) sorted by relevance

/external/boringssl/src/ssl/test/runner/
Dcipher_suites.go208 func (f *fixedNonceAEAD) Seal(out, nonce, plaintext, additionalData []byte) []byte {
210 return f.aead.Seal(out, f.sealNonce, plaintext, additionalData)
213 func (f *fixedNonceAEAD) Open(out, nonce, plaintext, additionalData []byte) ([]byte, error) {
215 return f.aead.Open(out, f.openNonce, plaintext, additionalData)
258 func (x *xorNonceAEAD) Seal(out, nonce, plaintext, additionalData []byte) []byte {
260 ret := x.aead.Seal(out, x.sealNonce, plaintext, additionalData)
265 func (x *xorNonceAEAD) Open(out, nonce, plaintext, additionalData []byte) ([]byte, error) {
267 ret, err := x.aead.Open(out, x.openNonce, plaintext, additionalData)
Dconn.go435 var additionalData []byte
437 additionalData = make([]byte, 13)
438 copy(additionalData, seq)
439 copy(additionalData[8:], b.data[:3])
441 additionalData[11] = byte(n >> 8)
442 additionalData[12] = byte(n)
444 additionalData = b.data[:recordHeaderLen]
447 payload, err = c.Open(payload[:0], nonce, payload, additionalData)
598 var additionalData []byte
600 additionalData = make([]byte, 13)
[all …]
/external/cronet/third_party/boringssl/src/ssl/test/runner/
Dcipher_suites.go208 func (f *fixedNonceAEAD) Seal(out, nonce, plaintext, additionalData []byte) []byte {
210 return f.aead.Seal(out, f.sealNonce, plaintext, additionalData)
213 func (f *fixedNonceAEAD) Open(out, nonce, plaintext, additionalData []byte) ([]byte, error) {
215 return f.aead.Open(out, f.openNonce, plaintext, additionalData)
258 func (x *xorNonceAEAD) Seal(out, nonce, plaintext, additionalData []byte) []byte {
260 ret := x.aead.Seal(out, x.sealNonce, plaintext, additionalData)
265 func (x *xorNonceAEAD) Open(out, nonce, plaintext, additionalData []byte) ([]byte, error) {
267 ret, err := x.aead.Open(out, x.openNonce, plaintext, additionalData)
Dconn.go435 var additionalData []byte
437 additionalData = make([]byte, 13)
438 copy(additionalData, seq)
439 copy(additionalData[8:], b.data[:3])
441 additionalData[11] = byte(n >> 8)
442 additionalData[12] = byte(n)
444 additionalData = b.data[:recordHeaderLen]
447 payload, err = c.Open(payload[:0], nonce, payload, additionalData)
598 var additionalData []byte
600 additionalData = make([]byte, 13)
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DCryptRand_fp.h79 DRBG_SEED *additionalData // IN:
102 BYTE *additionalData
134 TPM2B *additionalData // IN: value to incorporate
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptRand.c455 DRBG_SEED *additionalData // IN: in DRBG_Reseed() argument
468 if(additionalData != NULL) in DRBG_Reseed()
474 ((BYTE *)providedEntropy)[i] ^= ((BYTE *)additionalData)[i]; in DRBG_Reseed()
568 BYTE *additionalData in CryptRandomStir() argument
580 DfBuffer(&dfResult, additionalDataSize, additionalData)); in CryptRandomStir()
595 if((additionalDataSize > 0) && (additionalData != NULL)) in CryptRandomStir()
598 memcpy(drbgDefault.seed.bytes, additionalData, in CryptRandomStir()
654 TPM2B *additionalData // IN: value to incorporate in DRBG_AdditionalData() argument
660 DfBuffer(&dfResult, additionalData->size, additionalData->buffer); in DRBG_AdditionalData()
/external/boringssl/src/ssl/test/runner/hpke/
Dhpke.go141 func (c *Context) Seal(plaintext, additionalData []byte) []byte {
142 ciphertext := c.aead.Seal(nil, c.computeNonce(), plaintext, additionalData)
147 func (c *Context) Open(ciphertext, additionalData []byte) ([]byte, error) {
148 plaintext, err := c.aead.Open(nil, c.computeNonce(), ciphertext, additionalData)
/external/cronet/third_party/boringssl/src/ssl/test/runner/hpke/
Dhpke.go141 func (c *Context) Seal(plaintext, additionalData []byte) []byte {
142 ciphertext := c.aead.Seal(nil, c.computeNonce(), plaintext, additionalData)
147 func (c *Context) Open(ciphertext, additionalData []byte) ([]byte, error) {
148 plaintext, err := c.aead.Open(nil, c.computeNonce(), ciphertext, additionalData)
/external/ow2-asm/tools/retrofitter/src/main/resources/
Djdk1.5.0.12.txt.gz