Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for _goboringcrypto_gosha1 (0.22 sec)

  1. src/crypto/internal/boring/sha.go

    // license that can be found in the LICENSE file.
    
    //go:build boringcrypto && linux && (amd64 || arm64) && !android && !msan
    
    package boring
    
    /*
    #include "goboringcrypto.h"
    
    int
    _goboringcrypto_gosha1(void *p, size_t n, void *out)
    {
    	GO_SHA_CTX ctx;
    	_goboringcrypto_SHA1_Init(&ctx);
    	return _goboringcrypto_SHA1_Update(&ctx, p, n) &&
    		_goboringcrypto_SHA1_Final(out, &ctx);
    }
    
    int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 17:51:31 UTC 2023
    - 16.2K bytes
    - Viewed (0)
Back to top