v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
sha-256.h File Reference
#include <stddef.h>
#include <stdint.h>
Include dependency graph for sha-256.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  v8::internal::HASH_VTAB
 
struct  v8::internal::HASH_CTX
 

Namespaces

namespace  v8
 
namespace  v8::internal
 

Macros

#define LITE_LShiftU64(a, b)
 
#define LITE_RShiftU64(a, b)
 

Typedefs

typedef struct v8::internal::HASH_VTAB v8::internal::HASH_VTAB
 
typedef struct v8::internal::HASH_CTX v8::internal::HASH_CTX
 
typedef HASH_CTX v8::internal::LITE_SHA256_CTX
 

Functions

void v8::internal::SHA256_init (LITE_SHA256_CTX *ctx)
 
void v8::internal::SHA256_update (LITE_SHA256_CTX *ctx, const void *data, size_t len)
 
const uint8_t * v8::internal::SHA256_final (LITE_SHA256_CTX *ctx)
 
const uint8_t * v8::internal::SHA256_hash (const void *data, size_t len, uint8_t *digest)
 

Variables

const size_t kSizeOfSha256Digest = 32
 
const size_t kSizeOfFormattedSha256Digest = (kSizeOfSha256Digest * 2) + 1
 

Macro Definition Documentation

◆ LITE_LShiftU64

#define LITE_LShiftU64 ( a,
b )
Value:
((a) << (b))
std::optional< TNode< JSArray > > a

Definition at line 40 of file sha-256.h.

◆ LITE_RShiftU64

#define LITE_RShiftU64 ( a,
b )
Value:
((a) >> (b))

Definition at line 41 of file sha-256.h.

Variable Documentation

◆ kSizeOfFormattedSha256Digest

const size_t kSizeOfFormattedSha256Digest = (kSizeOfSha256Digest * 2) + 1

Definition at line 44 of file sha-256.h.

◆ kSizeOfSha256Digest

const size_t kSizeOfSha256Digest = 32

Definition at line 43 of file sha-256.h.