MCPcopy Index your code
hub / github.com/nodejs/node / validateRsaOaepAlgorithm

Function validateRsaOaepAlgorithm

lib/internal/crypto/rsa.js:75–79  ·  view source on GitHub ↗
(algorithm)

Source from the content-addressed store, hash-verified

73};
74
75function validateRsaOaepAlgorithm(algorithm) {
76 if (algorithm.label !== undefined) {
77 validateMaxBufferLength(algorithm.label, 'algorithm.label');
78 }
79}
80
81function rsaOaepCipher(mode, key, data, algorithm) {
82 validateRsaOaepAlgorithm(algorithm);

Callers 1

rsaOaepCipherFunction · 0.85

Calls 1

validateMaxBufferLengthFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…