/dports/ftp/sftpgo/sftpgo-2.2.0/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/ |
H A D | nonce.go | 43 type hmacsha256 struct { struct 49 func (h *hmacsha256) Write(p []byte) { argument 54 func (h *hmacsha256) initKey(key []byte) { argument 74 func (h *hmacsha256) ResetKey(key []byte) { argument 83 func (h *hmacsha256) Reset() { argument 89 func (h *hmacsha256) Sum() []byte { argument 97 func newHMACSHA256(key []byte) *hmacsha256 { 98 h := new(hmacsha256)
|
/dports/dns/bind911/bind-9.11.37/bin/tests/optional/ |
H A D | hash_test.c | 53 isc_hmacsha256_t hmacsha256; in main() local 199 isc_hmacsha256_init(&hmacsha256, key, 20); in main() 201 isc_hmacsha256_update(&hmacsha256, buffer, strlen(s)); in main() 202 isc_hmacsha256_sign(&hmacsha256, digest, ISC_SHA256_DIGESTLENGTH); in main() 207 isc_hmacsha256_init(&hmacsha256, key, 4); in main() 209 isc_hmacsha256_update(&hmacsha256, buffer, strlen(s)); in main() 210 isc_hmacsha256_sign(&hmacsha256, digest, ISC_SHA256_DIGESTLENGTH); in main() 219 isc_hmacsha256_init(&hmacsha256, key, 20); in main() 221 isc_hmacsha256_update(&hmacsha256, buffer, strlen(s)); in main() 222 isc_hmacsha256_sign(&hmacsha256, digest, ISC_SHA256_DIGESTLENGTH); in main()
|
/dports/security/beecrypt/beecrypt-4.2.1/c++/provider/ |
H A D | KeyProtector.cxx | 138 bytearray cleartext, ciphertext, mac(hmacsha256.digestsize); in protect() 142 keyedHashFunctionContext mc(&hmacsha256); in protect() 172 if (size <= hmacsha256.digestsize) in recover() 175 int ciphertext_size = size - hmacsha256.digestsize; in recover() 199 bytearray mac(hmacsha256.digestsize); in recover() 202 keyedHashFunctionContext mc(&hmacsha256); in recover() 208 if (memcmp(data + ciphertext_size, mac.data(), hmacsha256.digestsize)) in recover()
|
H A D | HMACSHA256.cxx | 29 HMACSHA256::HMACSHA256() : HMAC(hmacsha256, sha256) in HMACSHA256()
|
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/go-discover/provider/tencentcloud/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/ |
H A D | client.go | 174 secretDate := hmacsha256(date, "TC3"+c.credential.SecretKey) 175 secretService := hmacsha256(request.GetService(), secretDate) 176 secretKey := hmacsha256("tc3_request", secretService) 177 signature := hex.EncodeToString([]byte(hmacsha256(string2sign, secretKey)))
|
/dports/sysutils/consul/consul-1.10.3/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/ |
H A D | client.go | 174 secretDate := hmacsha256(date, "TC3"+c.credential.SecretKey) 175 secretService := hmacsha256(request.GetService(), secretDate) 176 secretKey := hmacsha256("tc3_request", secretService) 177 signature := hex.EncodeToString([]byte(hmacsha256(string2sign, secretKey)))
|
/dports/sysutils/gomplate/gomplate-3.9.0/vendor/github.com/hashicorp/consul/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/ |
H A D | client.go | 174 secretDate := hmacsha256(date, "TC3"+c.credential.SecretKey) 175 secretService := hmacsha256(request.GetService(), secretDate) 176 secretKey := hmacsha256("tc3_request", secretService) 177 signature := hex.EncodeToString([]byte(hmacsha256(string2sign, secretKey)))
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/hashicorp/consul/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/ |
H A D | client.go | 174 secretDate := hmacsha256(date, "TC3"+c.credential.SecretKey) 175 secretService := hmacsha256(request.GetService(), secretDate) 176 secretKey := hmacsha256("tc3_request", secretService) 177 signature := hex.EncodeToString([]byte(hmacsha256(string2sign, secretKey)))
|
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/hashicorp/consul/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/ |
H A D | client.go | 174 secretDate := hmacsha256(date, "TC3"+c.credential.SecretKey) 175 secretService := hmacsha256(request.GetService(), secretDate) 176 secretKey := hmacsha256("tc3_request", secretService) 177 signature := hex.EncodeToString([]byte(hmacsha256(string2sign, secretKey)))
|
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/consul/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/ |
H A D | client.go | 174 secretDate := hmacsha256(date, "TC3"+c.credential.SecretKey) 175 secretService := hmacsha256(request.GetService(), secretDate) 176 secretKey := hmacsha256("tc3_request", secretService) 177 signature := hex.EncodeToString([]byte(hmacsha256(string2sign, secretKey)))
|
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/nomad/vendor/github.com/hashicorp/go-discover/provider/tencentcloud/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/ |
H A D | client.go | 174 secretDate := hmacsha256(date, "TC3"+c.credential.SecretKey) 175 secretService := hmacsha256(request.GetService(), secretDate) 176 secretKey := hmacsha256("tc3_request", secretService) 177 signature := hex.EncodeToString([]byte(hmacsha256(string2sign, secretKey)))
|
/dports/sysutils/nomad/nomad-1.1.0/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/ |
H A D | client.go | 174 secretDate := hmacsha256(date, "TC3"+c.credential.SecretKey) 175 secretService := hmacsha256(request.GetService(), secretDate) 176 secretKey := hmacsha256("tc3_request", secretService) 177 signature := hex.EncodeToString([]byte(hmacsha256(string2sign, secretKey)))
|
/dports/net/libwebsockets/libwebsockets-v4.2.2/lib/secure-streams/system/auth-sigv4/ |
H A D | sign.c | 151 hmacsha256(const uint8_t *key, size_t keylen, const uint8_t *txt, in hmacsha256() function 317 hmacsha256((const uint8_t *)key, strlen((const char *)key), in calc_signing_key() 320 hmacsha256(date_key, sizeof(date_key), (const uint8_t *)s->region, in calc_signing_key() 323 hmacsha256(and_region_key, sizeof(and_region_key), in calc_signing_key() 327 hmacsha256(and_service_key, sizeof(and_service_key), in calc_signing_key() 415 hmacsha256(sign_key, sizeof(sign_key), (const uint8_t *)buf, in lws_ss_apply_sigv4()
|
/dports/security/vault/vault-1.8.2/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/ |
H A D | client.go | 182 secretDate := hmacsha256(date, "TC3"+c.credential.SecretKey) 183 secretService := hmacsha256(request.GetService(), secretDate) 184 secretKey := hmacsha256("tc3_request", secretService) 185 signature := hex.EncodeToString([]byte(hmacsha256(string2sign, secretKey)))
|
/dports/net/traefik/traefik-2.6.1/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/ |
H A D | client.go | 231 secretDate := hmacsha256(date, "TC3"+c.credential.GetSecretKey()) 232 secretService := hmacsha256(request.GetService(), secretDate) 233 secretKey := hmacsha256("tc3_request", secretService) 234 signature := hex.EncodeToString([]byte(hmacsha256(string2sign, secretKey)))
|
/dports/sysutils/terraform/terraform-1.0.11/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/ |
H A D | client.go | 231 secretDate := hmacsha256(date, "TC3"+c.credential.GetSecretKey()) 232 secretService := hmacsha256(request.GetService(), secretDate) 233 secretKey := hmacsha256("tc3_request", secretService) 234 signature := hex.EncodeToString([]byte(hmacsha256(string2sign, secretKey)))
|
/dports/sysutils/terraform/tencentcloud-sdk-go-1.0.233/tencentcloud/common/ |
H A D | client.go | 231 secretDate := hmacsha256(date, "TC3"+c.credential.GetSecretKey()) 232 secretService := hmacsha256(request.GetService(), secretDate) 233 secretKey := hmacsha256("tc3_request", secretService) 234 signature := hex.EncodeToString([]byte(hmacsha256(string2sign, secretKey)))
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/sodiumoxide-0.2.7/src/crypto/auth/ |
H A D | mod.rs | 73 pub mod hmacsha256; module
|
/dports/security/beecrypt/beecrypt-4.2.1/ |
H A D | Makefile.am | 61 ….lo entropy.lo fips186.lo hmac.lo hmacmd5.lo hmacsha1.lo hmacsha224.lo hmacsha256.lo md4.lo md5.lo… 65 …ianness.c entropy.c fips186.c hmac.c hmacmd5.c hmacsha1.c hmacsha224.c hmacsha256.c md4.c md5.c hm…
|
H A D | hmacsha256.c | 38 const keyedHashFunction hmacsha256 = { variable
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/cifs/ |
H A D | smb2transport.c | 50 &p->hmacsha256, in smb3_crypto_shash_allocate() 61 cifs_free_hash(&p->hmacsha256, &p->sdeschmacsha256); in smb3_crypto_shash_allocate() 72 &p->hmacsha256, in smb311_crypto_shash_allocate() 89 cifs_free_hash(&p->hmacsha256, &p->sdeschmacsha256); in smb311_crypto_shash_allocate() 246 hash = server->secmech.hmacsha256; in smb2_calc_signature() 317 rc = crypto_shash_setkey(server->secmech.hmacsha256, in generate_key()
|
/dports/multimedia/libv4l/linux-5.13-rc2/fs/cifs/ |
H A D | smb2transport.c | 50 &p->hmacsha256, in smb3_crypto_shash_allocate() 61 cifs_free_hash(&p->hmacsha256, &p->sdeschmacsha256); in smb3_crypto_shash_allocate() 72 &p->hmacsha256, in smb311_crypto_shash_allocate() 89 cifs_free_hash(&p->hmacsha256, &p->sdeschmacsha256); in smb311_crypto_shash_allocate() 246 hash = server->secmech.hmacsha256; in smb2_calc_signature() 317 rc = crypto_shash_setkey(server->secmech.hmacsha256, in generate_key()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/cifs/ |
H A D | smb2transport.c | 50 &p->hmacsha256, in smb3_crypto_shash_allocate() 61 cifs_free_hash(&p->hmacsha256, &p->sdeschmacsha256); in smb3_crypto_shash_allocate() 72 &p->hmacsha256, in smb311_crypto_shash_allocate() 89 cifs_free_hash(&p->hmacsha256, &p->sdeschmacsha256); in smb311_crypto_shash_allocate() 246 hash = server->secmech.hmacsha256; in smb2_calc_signature() 317 rc = crypto_shash_setkey(server->secmech.hmacsha256, in generate_key()
|
/dports/net/ntp/ntp-4.2.8p15/lib/isc/tests/ |
H A D | hash_test.c | 1149 isc_hmacsha256_t hmacsha256; in ATF_TC_BODY() local 1293 isc_hmacsha256_init(&hmacsha256, buffer, test_key->len); in ATF_TC_BODY() 1294 isc_hmacsha256_update(&hmacsha256, in ATF_TC_BODY() 1297 isc_hmacsha256_sign(&hmacsha256, digest, ISC_SHA256_DIGESTLENGTH); in ATF_TC_BODY()
|
/dports/security/beecrypt/beecrypt-4.2.1/include/beecrypt/ |
H A D | hmacsha256.h | 45 extern BEECRYPTAPI const keyedHashFunction hmacsha256;
|