Home
last modified time | relevance | path

Searched refs:encryptCtx (Results 1 – 13 of 13) sorted by relevance

/dports/security/vault/vault-1.8.2/vendor/go.mongodb.org/mongo-driver/x/mongo/driver/mongocrypt/
H A Dmongocrypt_test.go159 defer encryptCtx.Close()
169 noerr(t, encryptCtx.CompleteOperation())
179 noerr(t, encryptCtx.CompleteOperation())
183 testKmsCtx(t, encryptCtx, false)
187 encryptedDoc, err := encryptCtx.Finish()
207 defer encryptCtx.Close()
221 testKmsCtx(t, encryptCtx, false)
306 defer encryptCtx.Close()
310 testKmsCtx(t, encryptCtx, false)
339 defer encryptCtx.Close()
[all …]
/dports/net-mgmt/semaphore/semaphore-2.6.8/vendor/go.mongodb.org/mongo-driver/x/mongo/driver/mongocrypt/
H A Dmongocrypt_test.go159 defer encryptCtx.Close()
169 noerr(t, encryptCtx.CompleteOperation())
179 noerr(t, encryptCtx.CompleteOperation())
183 testKmsCtx(t, encryptCtx, false)
187 encryptedDoc, err := encryptCtx.Finish()
207 defer encryptCtx.Close()
221 testKmsCtx(t, encryptCtx, false)
306 defer encryptCtx.Close()
310 testKmsCtx(t, encryptCtx, false)
339 defer encryptCtx.Close()
[all …]
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/go.mongodb.org/mongo-driver/x/mongo/driver/mongocrypt/
H A Dmongocrypt_test.go168 defer encryptCtx.Close()
178 noerr(t, encryptCtx.CompleteOperation())
188 noerr(t, encryptCtx.CompleteOperation())
192 testKmsCtx(t, encryptCtx, false)
196 encryptedDoc, err := encryptCtx.Finish()
221 defer encryptCtx.Close()
235 testKmsCtx(t, encryptCtx, false)
320 defer encryptCtx.Close()
324 testKmsCtx(t, encryptCtx, false)
353 defer encryptCtx.Close()
[all …]
/dports/www/grafana8/grafana-8.3.6/vendor/go.mongodb.org/mongo-driver/x/mongo/driver/mongocrypt/
H A Dmongocrypt_test.go168 defer encryptCtx.Close()
178 noerr(t, encryptCtx.CompleteOperation())
188 noerr(t, encryptCtx.CompleteOperation())
192 testKmsCtx(t, encryptCtx, false)
196 encryptedDoc, err := encryptCtx.Finish()
221 defer encryptCtx.Close()
235 testKmsCtx(t, encryptCtx, false)
320 defer encryptCtx.Close()
324 testKmsCtx(t, encryptCtx, false)
353 defer encryptCtx.Close()
[all …]
/dports/security/fizz/fizz-2021.12.27.00/fizz/crypto/aead/
H A DOpenSSLEVPCipher.cpp17 EVP_CIPHER_CTX* encryptCtx, in encFuncBlocks() argument
34 encryptCtx, cipher, &outLen, plain, static_cast<int>(len)) != in encFuncBlocks()
55 if (EVP_EncryptFinal_ex(encryptCtx, block.data(), &outLen) != 1) { in encFuncBlocks()
63 EVP_CIPHER_CTX* encryptCtx, in encFunc() argument
79 encryptCtx, cipher, &outLen, plain, static_cast<int>(len)) != in encFunc()
87 encryptCtx, output.writableData() + numWritten, &outLen) != 1) { in encFunc()
185 EVP_CIPHER_CTX* encryptCtx, in evpEncrypt() argument
237 encryptCtx, in evpEncrypt()
248 encFuncBlocks(encryptCtx, *input, *output); in evpEncrypt()
250 encFunc(encryptCtx, *input, *output); in evpEncrypt()
[all …]
/dports/games/pokerth/pokerth-1.1.2-rc/src/core/common/
H A Dcrypthelper.cpp295 EVP_CIPHER_CTX *encryptCtx = EVP_CIPHER_CTX_new(); in AES128Encrypt() local
298 EVP_CIPHER_CTX *encryptCtx; in AES128Encrypt() local
299 encryptCtx = &_encryptCtx; in AES128Encrypt()
302 EVP_CIPHER_CTX_init(encryptCtx); in AES128Encrypt()
305 int success = EVP_EncryptInit(encryptCtx, EVP_aes_128_cbc(), key, iv); in AES128Encrypt()
306 EVP_CIPHER_CTX_set_padding(encryptCtx, 0); in AES128Encrypt()
308 …success = EVP_EncryptUpdate(encryptCtx, &outCipher[0], &outCipherSize, paddedPlainStr, paddedPlain… in AES128Encrypt()
312 EVP_EncryptFinal(encryptCtx, &outCipher[0], &outCipherSize); in AES128Encrypt()
319 EVP_CIPHER_CTX_free(encryptCtx); in AES128Encrypt()
/dports/www/minio-client/mc-RELEASE.2021-12-10T00-14-28Z/vendor/github.com/lestrrat-go/jwx/jwe/
H A Dencrypt.go14 return &encryptCtx{}
18 func getEncryptCtx() *encryptCtx {
19 return encryptCtxPool.Get().(*encryptCtx)
22 func releaseEncryptCtx(ctx *encryptCtx) { argument
32 func (e encryptCtx) Encrypt(plaintext []byte) (*Message, error) {
H A Dinterface.go70 type encryptCtx struct { struct
/dports/ftp/sftpgo/sftpgo-2.2.0/vendor/github.com/lestrrat-go/jwx/jwe/
H A Dencrypt.go14 return &encryptCtx{}
18 func getEncryptCtx() *encryptCtx {
19 return encryptCtxPool.Get().(*encryptCtx)
22 func releaseEncryptCtx(ctx *encryptCtx) { argument
32 func (e encryptCtx) Encrypt(plaintext []byte) (*Message, error) {
H A Dinterface.go70 type encryptCtx struct { struct
/dports/security/matrixssl/Crypt-MatrixSSL3-3.3.0.1/matrixssl-3-3-open/matrixssl/
H A DcipherSuite.c56 memset(&(sec->encryptCtx), 0, sizeof(psRc4Key_t)); in csArc4Init()
57 psArc4Init(&(sec->encryptCtx), sec->writeKey, keysize); in csArc4Init()
77 memset(&(sec->encryptCtx), 0, sizeof(des3_CBC)); in csDes3Init()
78 if ((err = psDes3Init(&(sec->encryptCtx), sec->writeIV, sec->writeKey, in csDes3Init()
84 sec->encryptCtx.des3.explicitIV = 1; in csDes3Init()
112 memset(&(sec->encryptCtx), 0, sizeof(aes_CBC)); in csAesInit()
113 if ((err = psAesInit(&(sec->encryptCtx), sec->writeIV, sec->writeKey, in csAesInit()
119 sec->encryptCtx.aes.explicitIV = 1; in csAesInit()
H A DsslEncode.c753 if ((rc = ssl->encrypt(&ssl->sec.encryptCtx, encryptStart, in encryptRecord()
791 if ((rc = ssl->encrypt(&ssl->sec.encryptCtx, pt, encryptStart, in encryptRecord()
811 rc = ssl->encrypt(&ssl->sec.encryptCtx, pt, encryptStart, in encryptRecord()
821 rc = ssl->encrypt(&ssl->sec.encryptCtx, encryptStart + divLen, in encryptRecord()
824 rc = ssl->encrypt(&ssl->sec.encryptCtx, pt, encryptStart, in encryptRecord()
H A Dmatrixssllib.h504 psCipherContext_t encryptCtx; member